Learn R Programming

GetITRData (version 0.7)

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

Description

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

Usage

gitrd.get.inflation.data(inflation.index)

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 itr/dfp dataset.

Value

A dataframe with inflation data

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
 # keep cran check fast
df.inflation <- gitrd.get.inflation.data('IPCA')
str(df.inflation)
# }

Run the code above in your browser using DataLab