Time series plans are only available on "professional" and above plans. The maximum allowed length in a single request is 365 days.

Each currency symbol is displayed in its own column, with a value relative to the base currency on the given date.

fixer_time_series(start_date, end_date, base = "EUR", symbols = NULL)

Arguments

start_date

The start date of requested time series.

end_date

The end date of requested time series.

base

The base currency to index other currencies against. Defaults to "EUR". Can only be changed with paid plans. A warning message will be printed if not using a paid plan, but the query will complete using Euros as the base currency.

symbols

A character vector of the symbols of currencies to return exchange rates for, or a string for a single currency. Defaults to NULL and returns all available currencies. See fixer_symbols for details on symbol options.

Value

A tibble with the exchange rate from the base currency to the given currency symbols for each date in the requested range.

Examples

# NOT RUN {
x <- fixer_time_series(start_date = "2017-04-30", end_date = "2017-06-20")

# }