plot_pop_totals: Plot characteristic summary output from...

Description Usage Arguments Value Examples

View source: R/diags.R

Description

Plot characteristic summary output from summarize_top_spew_region as totals

Usage

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"))

Arguments

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.

Value

a gg map object

Examples

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")

spew documentation built on Nov. 17, 2017, 7:36 a.m.