This functions download various interest rates from NBP (National Bank of Poland) as a xts object.

nbp_interest_rates(types = c("ref", "lom", "dep", "red"))

Arguments

types

DESCRIPTION.

Value

xts object.

Examples

tail(nbp_interest_rates("ref"))
#> ref #> 2013-03-07 0.0325 #> 2013-05-09 0.0300 #> 2013-06-06 0.0275 #> 2013-07-04 0.0250 #> 2014-10-09 0.0200 #> 2015-03-05 0.0150
tail(nbp_interest_rates(c("ref","lom")))
#> ref lom #> 2013-03-07 0.0325 0.0475 #> 2013-05-09 0.0300 0.0450 #> 2013-06-06 0.0275 0.0425 #> 2013-07-04 0.0250 0.0400 #> 2014-10-09 0.0200 0.0300 #> 2015-03-05 0.0150 0.0250