Description 1. Prepare summaries using license data (sa-states) 2. Prepare summaries provided directly by states 3. Participation rates 4. Combine states and Compute National/Regional Metrics Prepare ACS population data for participation rate estimates
Overview of the core functions for each step in dashboard production
use run_state
to produce dashboard metrics for selected
state (which is partly a wrapper for run_group
)
based on the dashtemplate package functions
build_history
,
calc_metrics
,
and format_metrics
use scale_segs
if provided segments don't scale to the total.
use est_residents
if resident breakouts weren't provided.
use est_lm
with predict_lm
if you need to
smooth out artifacts (see 2018-q4 for an example using Florida)
use aggregate_pop
to prepare population data for rate calculation.
use est_rate
to estimate participation rates
use agg_region_all
to build regional aggregations
this calls agg_region
use get_pop
to pull the reference state totals from
census "popest" data stored in excel files
use extrapolate_yr
to impute demographic estimates
based on state-level totals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.