from_to_dates_rates | R Documentation |
Wrapper around 'priceR::historical_exchange_rates()' with slight modifications to structure of inputs and output
from_to_dates_rates(from, to, dates)
from |
A currency code (see currencies() for supported codes) |
to |
A currency code |
dates |
A list of date ranges |
A data.frame with two columns: date (of class Date), and rate (of class numeric).
## Not run:
library(lubridate)
from_to_dates_rates("AUD", "USD", dates = list(today()-10, today()))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.