multiple_sevar: Compare Population or Employment across multiple scenarios.

Description Usage Arguments Value

View source: R/population.R

Description

Compare Population or Employment across multiple scenarios.

Usage

1
2
multiple_sevar(dbset, db_names, variable = c("population", "employment"),
  ...)

Arguments

dbset

A list of connections to SWIM databases.

db_names

A character vector naming the scenarios.

variable

One of c("population", "employment") defining which socioeconomic variable to include in

...

Arguments passed on to extract_se

db

The scenario sqlite database.

color_var

Field to color by: either "MPO" or "COUNTY".

color_levels

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

controls

Plot against the control totals. Defaults to TRUE, cannot currently run with FALSE.

index

Whether to show the variables as indexed against the base year.

Value

a ggplot2 object.


tlumip/swimr documentation built on Dec. 14, 2020, 3:16 a.m.