historic_currency: Get Historic Currency Data

Description Usage Arguments

Description

Retrieves historical data about a currency's value and exchange rate, relative to another currency.

Usage

1
historic_currency(dates, currency = "USD", key, ...)

Arguments

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 GET function.


lucr documentation built on May 2, 2019, 2:02 p.m.