extract_gdp: Extract GDP of Labor

View source: R/gdp.R

extract_gdpR Documentation

Extract GDP of Labor

Description

This function returns the total dollar value of all the labor sold by a dplyr::collect(n=Inf)ion of zones over time.

Usage

extract_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 data_frame with the participation rate in each facet region in each transport model year.


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