run_visual_dive: Run shiny app version of data dive

Description Usage Arguments See Also Examples

View source: R/data-dive.R

Description

This is a rough mock-up, intended to ensure (1) no surprises on the Tableau end and (2) results look correct.

Usage

1
run_visual_dive(hist_samp, county_map, pct = 10)

Arguments

hist_samp

data frame with a sample of license history for all privileges containing at least 9 variables: priv, cust_id, year, lapse, R3, res, sex, fips, age

county_map

spatial table produced by get_county_map_dive

pct

sample size (in whole percentage points) for hist_samp

See Also

run_visual

Other data dive functions: drop_state_code(), filter_demo(), get_county_map_dive(), load_cust_samp(), plot_county_dive(), plot_dist(), plot_trend(), set_nonres_county_na(), set_other_county_na(), summarize_trend()

Examples

1
2
3
4
5
6
## Not run: 
data(hist_samp)
county_map <- get_county_map_dive("WI")
run_visual_dive(hist_samp, county_map, pct = 1)

## End(Not run)

southwick-associates/sadash documentation built on Jan. 6, 2022, 5:17 p.m.