powered by
Downloads the daily SELIC rate series (ID 1178) from the Central Bank of Brazil’s SGS (Time Series Management System) API. Returns a tidy data frame.
get_selic_rate(start_year, end_year, language = "eng")
A tibble with SELIC rate data between the selected years.
Starting year (e.g., 2020)
Ending year (e.g., 2024)
Language for column names: "pt" for Portuguese or "eng" (default) for English
if (FALSE) { selic_data <- get_selic_rate(2020, 2024) }
Run the code above in your browser using DataLab