Building data dive summary data is fairly straightforward: use lictemplate::setup_data_dive()
to get template code.
From the R console:
lictemplate::setup_data_dive("YY", "2019-q4")
## A data dive folder has been initialized:
## E:/SA/Projects/Data-Dashboards/YY/2019-q4/code/5-data-dive
You can make use of hist_samp
sample data to see an example data dive:
library(sadash)
data(hist_samp)
county_map <- get_county_map_dive("WI")
run_visual_dive(hist_samp, county_map, pct = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.