plot_gdp: Plot the GDP contribution of Labor over time in a scenario

View source: R/gdp.R

plot_gdpR Documentation

Plot the GDP contribution of Labor over time in a scenario

Description

Plot the GDP contribution of Labor over time in a scenario

Usage

plot_gdp(
  db,
  facet_var = c("MPO", "COUNTY", "STATE"),
  facet_levels = NULL,
  color_levels = NULL,
  index_year = 2000
)

Arguments

db

The scenario sqlite database.

facet_var

Field to facet by: "MPO", "COUNTY", or "STATE".

facet_levels

A character vector of the variable specifiying which levels to include.

color_levels

A character vector of the industry sectors to include. Defaults to all.

index_year

[Optional] index year that should be used as the starting year for data or plots;

Value

a ggplot2 plot object.


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