Description Usage Arguments Value Examples
Convert from one currency to another, on a given date or using the latest available exchange rates.
Currency conversion is available on all paid plans.
1 | fixer_convert(from, to, amount = 1, date = NULL)
|
from |
Symbol of currency to convert from. |
to |
Symbol of currency to convert to. |
amount |
The numeric value of the |
date |
Optional variable. A date in YYYY-MM-DD format, or any value
that can be coerced to YYYY-MM-DD format with |
A list containing the value of the conversion, the exchange rate and the date and time of the currency conversion.
1 2 3 4 5 6 7 8 9 | ## Not run:
x <- fixer_convert(from = "GBP", to = "JPY", amount = 25)
y <- fixer_convert(from = "GBP", to = "JPY",
amount = 25, date = "2018-05-05")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.