get_historical_exchange_rates {currencyapi} | R Documentation |
Get historical exchange rates for a specific date for a single or multiple currencies.
Description
Get historical exchange rates for a specific date for a single or multiple currencies.
Usage
get_historical_exchange_rates(date, base_currency = NULL, currencies = NULL)
Arguments
date |
(required) Date to retrieve historical rates from (format: 2021-12-31) |
base_currency |
The base currency for the conversion (e.g., "USD") |
currencies |
A list of comma seperated currency codes which you want to get (EUR,USD,CAD) By default all available currencies will be shown |
Value
Returns exchange rates for a given time range. Generally, we provide data going back to 1999.
[Package currencyapi version 0.1.0 Index]