Description Usage Arguments Value Examples
View source: R/get_conversion_rate.R
Returns the exchange rates from one currency to another from a start to an end-date
1 2 3 4 5 6 7 | get_exchange_rates(
fromCUR,
toCUR,
start_date = Sys.Date() - 30,
end_date = Sys.Date(),
retried = 0
)
|
fromCUR |
base currency that you want to convert |
toCUR |
final currency |
start_date |
date |
end_date |
date |
retried |
count the number of tries |
data.table object
1 2 | get_exchange_rates('EUR', 'USD', start_date = '2020-05-12', end_date = '2020-05-13')
get_exchange_rates('EUR', 'HUF', start_date = '2020-05-12', end_date = '2020-05-13')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.