compare_wapr | R Documentation |
Compare workforce participation in two scenarios
compare_wapr(
db1,
db2,
facet_var = c("BZONE", "MPO", "COUNTY", "DOT_REGION", "STATE"),
facet_levels = NULL,
index_year = 2000
)
db1 |
The swim database for the "Reference" scenario. |
db2 |
The swim database for the "Current" scenario. |
facet_var |
Field to facet by: either "MPO" or "COUNTY". |
facet_levels |
A character vector of the facet variable specifiying which levels to include. |
index_year |
[Optional] index year that should be used as the starting year for data or plots; |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.