free_currency_api_get_current: Current Rate

Description Usage Arguments Details Examples

View source: R/get_rates.R

Description

https://free.currencyconverterapi.com/ API v6 API only allows 8 days at a time for free version. Rate limit for free version is 100 requests per hour.

Usage

1
2
free_currency_api_get_current(currency_from, currency_to,
  compact = "ultra")

Arguments

currency_from

The 3-letter ISO currency code

currency_to

The 3-letter ISO currency code

compact

The compactness of the output format. There are three options: y, n, ultra.

Details

The Current Rate function returns a list of the exchange – from currency and to currency – and the current exchange rate as a numeric.

Examples

1
2
3
4
## Not run: 
free_currency_api_get_current("USD", "PHP", "ultra")

## End(Not run)

raybuhr/freeCurrencyApiR documentation built on May 23, 2019, 2:48 p.m.