Nothing
options(repos = c(CRAN = "https://cloud.r-project.org/")) knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
Downloads the daily SELIC rate series from Central Bank of Brazil.
start_year: Starting year (e.g., 2020)end_year: Ending year (e.g., 2024) language: Column names language - "eng" (default) or "pt"library(brfinance) # English version selic_eng <- get_selic_rate(2020, 2024) head(selic_eng) # Portuguese version selic_pt <- get_selic_rate(2020, 2024, language = "pt") head(selic_pt)
Creates a time series plot of SELIC rate.
data: Data from get_selic_rate()language: Plot labels language - "eng" (default) or "pt"# Get data selic_data <- get_selic_rate(2020, 2024) # Create plot selic_plot <- plot_selic_rate(selic_data, language = "eng") print(selic_plot)
# Portuguese version selic_data_pt <- get_selic_rate(2000,2005, language = "pt") selic_plot_pt <- plot_selic_rate(selic_data_pt, language = "pt") print(selic_plot_pt)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.