Retrieves historical data about a currency's value and exchange rate, relative to another currency.
1 | historic_currency(dates, currency = "USD", key, ...)
|
dates |
a vector of dates to get data for. Strings or date objects. |
currency |
the currency to use as a baseline. By default this is US Dollars; while it can be changed to other currencies, that does require an 'Enterprise' OER key, and will otherwise fail. |
key |
Your Open Exchange Rates API key. See their access plans (particularly the 'forever free' plan linked at the bottom). |
... |
Further arguments to pass to httr's |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.