The brfinance package provides simplified access to Brazilian macroeconomic and financial indicators from official sources like IBGE and Central Bank of Brazil.
get_selic_rate() - Daily SELIC interest rateget_unemployment() - Quarterly unemployment rateget_inflation_rate() - Monthly IPCA inflationplot_selic_rate() - SELIC rate visualizationplot_unemployment() - Unemployment rate
visualizationAll 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")
# From CRAN
install.packages("brfinance")
# Development version
devtools::install_github("efram2/brfinance")
library(brfinance)