pribor {czechrates}R Documentation

pribor

Description

A function returning data frame of PRague InterBank OffeRed rates (PRIBOR).

Usage

pribor(date = Sys.Date() - 1, maturity = "1D")

Arguments

date

Date of fixing as date, default is yesterday.

maturity

Maturity of loan as string, default is overnight ("1D").

Details

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.

Value

data frame - first column is date, second is relevant PRIBOR rate.

Examples


  pribor(as.Date("2002-08-12"), "1D")


[Package czechrates version 0.2.4 Index]