Learn R Programming

lares (version 4.7)

get_currency: Download Historical Currency Exchange Rate

Description

This function lets the user download historical currency exchange rate between two currencies

Usage

get_currency(currency_pair, from = Sys.Date() - 99, to = Sys.Date(),
  fill = FALSE)

Arguments

currency_pair

Character. Which currency exchange do you wish to get the history from? i.e, USD/COP, EUR/USD...

from

Date. From date

to

Date. To date

fill

Boolean. Fill weekends and non-quoted dates with previous values?

See Also

Other Tools: autoline, bindfiles, bring_api, db_download, db_upload, export_plot, export_results, get_credentials, h2o_predict_API, h2o_predict_MOJO, h2o_predict_binary, h2o_predict_model, h2o_selectmodel, h2o_update, haveInternet, importxlsx, ip_country, iter_seeds, json2vector, listfiles, mailSend, matrixwd, msplit, myip, pass, quiet, read.file, statusbar, try_require, updateLares, zerovar