Description Usage Arguments Value Examples
View source: R/get_period_rate.R
Get daily historical currency exchange rates between two dates of your choice, with a maximum time frame of 30 days.
1 2 | get_period_rate(start_date, end_date, symbol = "CAD", base_symbol = "USD",
access_key)
|
start_date |
the start date of interest, a string in the format 'YYYY-MM-DD' |
end_date |
the end date of interest, a string in the format 'YYYY-MM-DD' |
symbol |
currency symbol of interest, for example "CAD" |
base_symbol |
currency symbol as a reference base 1, for example "USD" |
access_key |
access key for the fixer.io api, a string |
a data frame of the currency exchange rates in the specified period
1 | get_period_rate('2018-01-14', '2018-01-15', 'CAD', 'EUR', access_key = Sys.getenv('ACCESS_KEY'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.