Prepare the MAPE (mean average percent error) totals for use in reporting.
Usage
prep_mape_totals(hh_wide_dt, controls_list)
Arguments
- hh_wide_dt
A data.table of the survey counts for each weighting target in wide format.
From prep_seed_weights.
- controls_list
A list of data.tables, one for each geography.
From prep_control_tables.
Value
A data.table of the MAPE totals. Columns are group_name, person, household,