Prepare the weight summary for use in reporting. This shows the
change in sums of initial vs final weights.
Usage
prep_weight_summary(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 weight summary. Columns are level, initial_weight, final_weight, and target.