Description Usage Arguments See Also Examples
Chloropleth county plot for data dive
1 | plot_county_dive(priv, county_map, metric = "participants", pct = 10)
|
priv |
data for one permission |
county_map |
spatial table produced by |
metric |
name of metric to summarize, either "participants" or "churn" |
pct |
sample size (in whole percentage points) for hist_samp |
Other data dive functions:
drop_state_code()
,
filter_demo()
,
get_county_map_dive()
,
load_cust_samp()
,
plot_dist()
,
plot_trend()
,
run_visual_dive()
,
set_nonres_county_na()
,
set_other_county_na()
,
summarize_trend()
1 2 3 4 5 6 7 8 9 | ## Not run:
library(dplyr)
data(hist_samp)
priv <- filter(hist_samp, priv == "all_sports", year == 2014)
county_map <- get_county_map_dive("WI")
plot_county_dive(priv, county_map, pct = 1)
plot_county_dive(priv, county_map, "churn")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.