Check group sums for target columns
check_group_sums.RdChecks that column group row sums match person and household totals for weighting input files. Use to validate group consistency in targets.
Details
Iterates over group patterns in settings targets.
Checks group sums using
check_group_sumfor each pattern.Skips pass-through methods and missing columns.
Stops if any group fails consistency check.
Used for validation; returns nothing.
See also
check_group_sumscripts/weighting/target_validation.R
Other validation helpers:
check_daypat_results(),
check_group_sum(),
check_initial_weights(),
check_ref_counts(),
check_weight_skew()