demog_data <- data.frame(
occupation_label =
c(6111, 3221, 5113, 5133, 6111, 23, 25),
sex = c("F", "M", "F", "F", "M", "M", "F")
)
describe_occupation(
isco_codes = demog_data$occupation_label,
sex = demog_data$sex, plot = "treemap"
)
Run the code above in your browser using DataLab