The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

2. Inflation Analysis

get_inflation_rate()

Downloads monthly IPCA inflation data from Central Bank of Brazil.

Parameters

Usage

devtools::install_github("efram2/brfinance")
library(brfinance)

# Complete data (default)
inflation <- get_inflation_rate()

# Specific period in English
inflation_eng <- get_inflation_rate(
  start_date = "2020-01-01",
  end_date = "2024-12-01", 
  language = "eng"
)

# Portuguese version
inflation_pt <- get_inflation_rate(
  start_date = "2020-01-01", 
  language = "pt"
)

Output Structure

English:

# A tibble: 156 × 5
   date       monthly_inflation ytd_inflation twelve_month_inflation year
   <date>                 <dbl>         <dbl>                 <dbl> <dbl>
 1 2020-01-01             0.21          0.21                  4.18  2020

Portuguese:

# A tibble: 156 × 5
   data_referencia inflacao_mensal inflacao_acumulada_ano inflacao_12_meses   ano
   <date>                     <dbl>                 <dbl>             <dbl> <dbl>
 1 2020-01-01                 0.21                  0.21              4.18  2020

Returned data:

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.