plot_unemployment: Plot Brazil's monthly unemployment rate

View source: R/plot_series.R

plot_unemploymentR Documentation

Plot Brazil's monthly unemployment rate

Description

Generates a ggplot2 line chart of Brazil's unemployment rate (PNAD Contínua) using data returned by get_unemployment().

Usage

plot_unemployment(data, language = "eng")

Arguments

data

Tibble or data.frame returned by get_unemployment(). Must contain columns date (Date) and value (numeric).

language

Language of plot labels: "eng" (default) or "pt".

Value

A ggplot2 object, or NULL (with a message) if data has no rows.

Examples


unemployment_data <- get_unemployment("2020", "2024")
print(plot_unemployment(unemployment_data))



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