cnbfxrate {czechrates} | R Documentation |
Central bank exchange rate fixing
Description
A function returning data frame of FX rates as fixed by the central bank.
Usage
cnbfxrate(date = Sys.Date() - 1, specific_currency = "ALL")
Arguments
date |
Date of publication as date, default is yesterday. |
specific_currency |
ISO Code of currency, default is ALL / complete list. |
Value
a data frame - date_valid, currency ISO code, quoted amount, rate
Examples
cnbfxrate(as.Date("2002-08-12"), "EUR") # EUR/CZK rate for August 12th, 2002
[Package czechrates version 0.2.5 Index]