Learn R Programming

lucr (version 0.2.0)

conversion_rates: Get Current Conversion Rates

Description

Get the current conversion rates between various different currencies.

Usage

conversion_rates(currency = "USD", key, ...)

Arguments

currency
The currency to use as a baseline. By default this is US Dollars; while it can be changed to other currencies, that does require an 'Enterprise' OER key, and will otherwise fail.
key
Your Open Exchange Rates API key. See their access plans (particularly the 'forever free' plan linked at the bottom).
...
Further arguments to pass to httr's GET function.