pribor | R Documentation |
A function returning data frame of PRague InterBank OffeRed rates (PRIBOR).
pribor(date = Sys.Date() - 1, maturity = "1D")
date |
Date of fixing as date, default is yesterday. |
maturity |
Maturity of loan as string, default is overnight ("1D"). |
The function expects date input, and returns data frame of two or more columns - date, and relevant PRIBOR rate (as determined by 'maturity' parameter).
PRIBOR rates are reported as fractions, i.e. not as percentages (i.e. 1% is reported as .01, not 1).
For dates when no PRIBOR was quoted (e.g. weekends, Bank Holidays, such as December 24th on any year, or August 13th, 2002 when no PRIBOR was quoted due to catastrophic floods) no result will be returned.
data frame - first column is date, second is relevant PRIBOR rate.
pribor(as.Date("2002-08-12"), "1D")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.