| extract_employment | R Documentation | 
This is an internal function to pull the employment data from a scenario and return it to either the single scenario or scenario comparison functions.
extract_employment(
  db,
  facet_var = NULL,
  facet_levels = NULL,
  type_levels = NULL,
  employment_categories = NULL,
  index_year = 2000
)
db | 
 The scenario database.  | 
facet_var | 
 The variable in the zone table to facet by. Defaults to MPO  | 
facet_levels | 
 The levels of the facet variable to keep. Defaults to all levels other than external stations.  | 
type_levels | 
 The types of employment to show in the plot.  | 
employment_categories | 
 [Optional] data_frame of employment aggregation categories;  | 
index_year | 
 [Optional] index year that should be used as the starting year for data or plots;
if   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.