if (FALSE) { # interactive()
# Default: from 2020 to current date (aligned with other functions)
df <- get_unemployment()
# Specific period with year-only format
df2 <- get_unemployment("2018", "2023")
# Portuguese column names and labels
df3 <- get_unemployment(language = "pt")
# Without variable labels
df4 <- get_unemployment("2020-01-01", "2022-12-31", labels = FALSE)
}
Run the code above in your browser using DataLab