eurusds: USD/EUR exchange rates

Description Usage Arguments Format Value See Also Examples

Description

Looks up the daily USD/EUR exchange rate via an API call for the specified date range.

Usage

1
eurusds(date_from, date_to, last_x_days = NULL)

Arguments

date_from

The start of the range.

date_to

The end of the range.

last_x_days

Return the exchange rates for the last X days compared to date_to.

Format

Returns a data.table.

Value

Returns the daily exchange rates.

See Also

eurusd

Examples

1
2
3
4
5
6
7
8
# Specific date range
eurusds("2019-05-01", "2019-05-24")

# Last 45 days from a specific date
eurusds(date_to = "2019-05-01", last_x_days = 45)

# Last 45 days from today
eurusds(last_x_days = 45)

szigony/xchangeR documentation built on June 7, 2019, 5:12 a.m.