plot_employment: Plot Employment by Sector

View source: R/employment.R

plot_employmentR Documentation

Plot Employment by Sector

Description

This function plots the employment by type in an area over time between two scenarios.

Usage

plot_employment(db, ...)

Arguments

...

Arguments passed on to extract_employment

db

The scenario database.

facet_var

The variable in the zone table to facet by. Defaults to MPO

facet_levels

The levels of the facet variable to keep. Defaults to all levels other than external stations.

type_levels

The types of employment to show in the plot.

employment_categories

[Optional] data_frame of employment aggregation categories;

index_year

[Optional] index year that should be used as the starting year for data or plots; if NULL, uses emp_types. Should have columns ACTIVITY (full code of activity in AA databases) and emp_type.

Value

A ggplot2 object showing the employment by type and and year.


pbsag/swimr documentation built on July 4, 2025, 12:10 p.m.