nbp_read_inflation: Title

Description Usage Arguments Examples

Description

Title

Usage

1
2
nbp_read_inflation(path, interval = c("monthly", "quarterly", "annual"),
  type = c("previous", "corresponding"))

Arguments

path

path to the file containing inflation data downloaded fromo NBP website. See the nbp_inflation_download function.

interval

date interval. Can be monthly (default), quarterly or annual.

type

select method of calculation. 'previous' (default) returns data in relation to the previous month. 'corresponding' returns the values in relation to the corresponding interval from previous year.

Examples

1
2
3
4
5
6
path <- nbp_inflation_download()
nbp_read_inflation(path)
nbp_read_inflation(path, type = "corresponding")

nbp_read_inflation(path, interval = "quarterly")
nbp_read_inflation(path, interval = "annual")

zzawadz/nbpInterestRatesR documentation built on May 5, 2019, 3:48 a.m.