| plot_unemployment | R Documentation |
Generates a ggplot2 line chart of Brazil's unemployment rate
(PNAD Contínua) using data returned by get_unemployment().
plot_unemployment(data, language = "eng")
data |
Tibble or data.frame returned by |
language |
Language of plot labels: "eng" (default) or "pt". |
A ggplot2 object, or NULL (with a message) if data has no rows.
unemployment_data <- get_unemployment("2020", "2024")
print(plot_unemployment(unemployment_data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.