extract_vmt: Extract VMT

Description Usage Arguments Value

View source: R/vmt.R

Description

Extract VMT

Usage

1
2
extract_vmt(db, facet_var = "MPO", facet_levels = NULL,
  index = FALSE)

Arguments

db

The scenario database.

facet_var

The variable to use in facetting the data.

facet_levels

A character vector giving the levels of the facet variable to use. Levels not called are dropped from the plot; default is NULL, meaning print all levels.

index

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

Value

A data frame with VMT dplyr::summarized by facility type and facet variable.


pbsag/swimr documentation built on Jan. 14, 2019, 8:58 p.m.