A Simple Solution for Brazilian Financial Data

The brfinance package provides simplified access to Brazilian macroeconomic and financial indicators from official sources like IBGE and Central Bank of Brazil.

Core Functions

  • get_selic_rate() - Daily SELIC interest rate
  • get_unemployment() - Quarterly unemployment rate
  • get_inflation_rate() - Monthly IPCA inflation
  • plot_selic_rate() - SELIC rate visualization
  • plot_unemployment() - Unemployment rate visualization

Language Support

All functions support both English ("eng") and Portuguese ("pt") through the language parameter:

# English (default)
data_eng <- get_selic_rate(2020, 2024, language = "eng")

# Portuguese
data_pt <- get_selic_rate(2020, 2024, language = "pt")

Installation:

# From CRAN
install.packages("brfinance")

# Development version
devtools::install_github("efram2/brfinance")

library(brfinance)