pop_and_laborforce_by_age: Population and Labor Force by Age

pop_and_laborforce_by_ageR Documentation

Population and Labor Force by Age

Description

A test dataset containing percentage breakdowns of the population and labor force by various age buckets in 2010 and 2017.

Usage

pop_and_laborforce_by_age

Format

A tibble. 12 rows and 4 variables:

variable

Chr. Indicates the meaning of the data stored in 'value'. "population" or "laborforce".

year

Factor. 2010 or 2017.

age

Chr. The age bucket. Either 16-24, 25-54, or 55+.

value

Double. The value indicated by the other variables.

Source

CMAP traded clusters report

Examples

# a grouped and stacked bar chart (via `interaction()`)
ggplot(pop_and_laborforce_by_age, aes(x = interaction(year, variable), y = value, fill = age)) +
  geom_col(position = position_stack(reverse = TRUE))


CMAP-REPOS/cmapplot documentation built on March 29, 2025, 11:55 a.m.