plot_inflation_rate: Plot Brazilian Inflation Rate (IPCA)

View source: R/plot_series.R

plot_inflation_rateR Documentation

Plot Brazilian Inflation Rate (IPCA)

Description

Generates a time series plot of Brazil's monthly inflation rate measured by the IPCA (Índice Nacional de Preços ao Consumidor Amplo).

Usage

plot_inflation_rate(data, language = "eng")

Arguments

data

Tibble returned by get_inflation_rate(), with columns date and value.

language

Language for titles and labels: "pt" (Portuguese) or "eng" (English).

Value

A ggplot2 object showing the monthly inflation rate over time, or NULL (with a message) if data has no rows.

Examples


inflation_data <- get_inflation_rate("2020", "2024")
print(plot_inflation_rate(inflation_data))



brfinance documentation built on Nov. 14, 2026, 5:09 p.m.