extract_se: Extract SE data from DB

View source: R/population.R

extract_seR Documentation

Extract SE data from DB

Description

Extract SE data from DB

Usage

extract_se(
  db,
  color_var = NULL,
  color_levels = NULL,
  controls = TRUE,
  index = FALSE,
  index_year = 2000
)

Arguments

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.

index_year

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

Value

a data frame


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