/lucr

Currency conversion and reformatting in R, including a connector to the Open Exchange Rates API

Primary LanguageROtherNOASSERTION

Currency conversion, handling and manipulation in R

CRAN RStudio mirror downloads

lucr provides currency data reformatting and retrieval. In particular, it lets you:

  1. Easily refactor numeric values as currency values, controlling for the separators, the group sizes, the positioning of the currency sign, and the currency sign itself;
  2. Take currency-formatted data and refactor it into numeric values;
  3. Retrieve currency conversion rates from the Open Exchange Rates API.

Installation

To get the release version:

install.packages("lucr")

For the development version:

devtools::install_github("ironholds/lucr")

License

MIT + file LICENSE © Oliver Keyes.