Economics and Pricing Tools


[Up] [Top]

Documentation for package ‘priceR’ version 1.0.1

Help Pages

adjust_for_inflation Convert nominal prices into real prices
afi Convert nominal prices into real prices
append_exchangeratehost_access_key Retrieves exchangerate.host (forex) API key from R environment variables and appends to API call
convert_currencies Convert Currencies
convert_to_iso2Code Convert any country input into its iso2Code
country_input_type Determines whether country input is a country name or iso2Code
currencies Retrieve available currencies and their respective symbols/codes
currency_characters Provide currency characters
currency_info Information for each of 191 currencies
currency_to_numeric Convert human readable currencies into numeric data
display_api_info Display link to further information
exchange_rate_latest Retrieve the latest exchange rates between the provided currency code
extract_salary Extract numeric salary from text data
format_currency Make numeric currency values human readable
format_dollars Make numeric currency values human readable
from_to_dates_rates Wrapper around 'priceR::historical_exchange_rates()' with slight modifications to structure of inputs and output
historical_exchange_rates Retrieve historical exchange rates
make_dates Creates date ranges so as to batch up large API calls into many smaller ones
pminmax Removes redundant API calls of currency pairs. That is, revmoes the need to for separate calls for both 'from = EUR, to = USD' and 'from = USD, to = EUR'
retrieve_historical_rates Retrieve historical exchange rates
retrieve_inflation_data Retrieve historical inflation data
round_down_to_nearest Round prices down to the nearest specified increment
round_to_nearest Round prices to the nearest specified increment
round_up_to_nearest Round prices up to the nearest specified increment
show_countries Show available country codes
url_all_results Generate a World Bank API URL that will return all results for a given indicator in JSON format