gdfpd.get.inflation.data: Downloads and read inflation data from github

Description Usage Arguments Value Examples

View source: R/gdfpd_get_inflation_data.R

Description

Inflation data is available at git repo 'msperlin/GetITRData_auxiliary'

Usage

1
gdfpd.get.inflation.data(inflation.index, do.cache)

Arguments

inflation.index

Sets the inflation index to use for finding inflation adjusted values of all reports. Possible values: 'dollar' (default) or 'IPCA', the brazilian main inflation index. When using 'IPCA', the base date is set as the last date found in the DFP dataset.

do.cache

Logical for controlling to whether to use a cache system or not. Default = TRUE

Value

A dataframe with inflation data

Examples

1
2
3
4
5
## Not run:  # keep cran check fast
df.inflation <- gdfpd.get.inflation.data('IPCA')
str(df.inflation)

## End(Not run)

msperlin/GetDFPData documentation built on April 6, 2021, 4:52 a.m.