| plot_selic_rate | R Documentation |
Generates a time series plot of the SELIC interest rate using data from
get_selic_rate(). Plots the value_annualized column (% p.a.), not the
raw daily value column.
plot_selic_rate(data, language = "eng")
data |
Tibble returned by |
language |
Language for titles and labels: "pt" (Portuguese) or "eng" (English). |
A ggplot2 object showing the SELIC rate over time,
or NULL (with a message) if data has no rows.
selic_data <- get_selic_rate("2020", "2024")
print(plot_selic_rate(selic_data))
print(plot_selic_rate(get_selic_rate(language = "pt"), language = "pt"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.