extract_trips | R Documentation |
This function looks at the trip matrix for a scenario and dplyr::summarizes trips on the origin end by mode and region of origin.
extract_trips(
db,
facet_var = NULL,
facet_levels = NULL,
color_levels = c("auto", "transit", "non-motorized", "truck"),
index = FALSE,
index_year = 2000
)
db |
the scenario database. |
facet_var |
The region to dplyr::summarize by. |
facet_levels |
Regions to include in summary. |
color_levels |
Modes to include in summary. Defaults to all modes other
than |
index |
whether to index mode split off the base year. |
index_year |
[Optional] index year that should be used as the starting year for data or plots; |
A data frame with total trips originating in the region by mode and year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.