Returns a tibble with the most recently available currency conversion data available from the Fixer API

fixer_latest(base = "EUR", symbols = NULL)

Arguments

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 latest available currency exchange data.

Examples

# NOT RUN {
today <- fixer_latest()

today_usd <- fixer_latest(base = "USD")

# }