Description Usage Arguments Value
View source: R/make_map_dest_panel.R
This function takes in data and produces a panel of destination maps of Oakland movers using a gradient color scale, across four distinct periods. Filters SES category to Low, Moderate, and Middle. Intended to be used with oakViz::aggregate_categories().
1 2 3 4 5 6 7 | make_dest_map_panel(
data,
shp_tracts,
save = F,
savename = "plot.png",
caption = paste0(frb_caption, ses_caption, period_caption)
)
|
data |
Data aggregated with aggregate_categories(). |
shp_tracts |
"US_tract_2010.shp" loaded object |
save |
T if user would like to return plot object and save file, F (default) to just return object. |
savename |
File name of map for saving. |
caption |
Figure caption |
Destination map panel across four periods.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.