Description Usage Arguments Value Examples
Plot characteristic summary output from summarize_top_spew_region as totals
1 2 3 | plot_pop_totals(feature_df, type = "n_people", text_size = 10,
region_colors = c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442",
"#0072B2", "#D55E00", "#CC79A7"))
|
feature_df |
features summary, output from summarize_top_region() |
type |
either "n_house" or "n_people". Default is n_people |
text_size |
axis text size. Default is 10 |
region_colors |
a string of colors to color the map. Default is from the colorblind friendly palette. |
a gg map object
1 2 3 4 5 | data(tartanville)
tartanville_syneco <- spew(tartanville$pop_table, tartanville$shapefile,
tartanville$pums_h, tartanville$pums_p)
plot_syneco(tartanville, tartanville_syneco, region_name = "Tartanville")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.