Description Usage Arguments Value Examples
View source: R/get_current_rate.R
Get the latest currency exchange rate for two specified currencies
1 | get_current_rate(symbol = "CAD", base_symbol = "USD", access_key)
|
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. |
latest currency exchange rate between these two currencies
1 | get_current_rate('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.