compare_gdp: Compare GDP between two scenarios

View source: R/gdp.R

compare_gdpR Documentation

Compare GDP between two scenarios

Description

Compare GDP between two scenarios

Usage

compare_gdp(
  db1,
  db2,
  facet_var = c("MPO", "COUNTY", "STATE"),
  facet_levels = NULL,
  color_levels = NULL,
  index_year = 2000
)

Arguments

db1

The swim database for the "Reference" scenario.

db2

The swim database for the "Current" scenario.

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

ggplot2 object


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