Economics and Pricing Tools
Convert nominal prices into real prices
Retrieves exchangerate.host (forex) API key from R environment variabl...
Convert Currencies
Convert any country input into its iso2Code
Determines whether country input is a country name or iso2Code
Retrieve available currencies and their respective symbols/codes
Provide currency characters
Convert human readable currencies into numeric data
Display link to further information
Retrieve the latest exchange rates between the provided currency code
Extract numeric salary from text data
Make numeric currency values human readable
Make numeric currency values human readable
Wrapper around priceR::historical_exchange_rates() with slight modif...
Retrieve historical exchange rates
Creates date ranges so as to batch up large API calls into many smalle...
Removes redundant API calls of currency pairs. That is, revmoes the ne...
Retrieve historical exchange rates
Retrieve historical inflation data
Round prices down to the nearest specified increment
Round prices to the nearest specified increment
Round prices up to the nearest specified increment
Show available country codes
Generate a World Bank API URL that will return all results for a given...
Functions to aid in micro and macro economic analysis and handling of price and currency data. Includes extraction of relevant inflation and exchange rate data from World Bank API, data cleaning/parsing, and standardisation. Inflation adjustment calculations as found in Principles of Macroeconomics by Gregory Mankiw et al (2014). Current and historical end of day exchange rates for 171 currencies from the European Central Bank Statistical Data Warehouse (2020).
Useful links