gdfpd.get.inflation.data {GetDFPData}R Documentation

Downloads and read inflation data from github

Description

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

Usage

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


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

## End(Not run)

[Package GetDFPData version 1.6 Index]