Prepare targets for weighting
prepare_targets.RdPrepares survey or PUMS targets for weighting, expanding target configs and handling day-of-week suffixes. Use as the main entry for target tabulation.
Details
Expands target configs for day-of-week and crosstab targets.
Tabulates targets by method specified in settings.
Handles survey and PUMS input fields.
Skips targets with missing input or 'skip' config.
Returns data.table of targets, seed, or control totals.
Assumes input tables are data.table and settings are complete.
See also
prep_target_cross, prep_targets_methods
Other target preparation:
get_target_methods(),
prep_target_adults(),
prep_target_age(),
prep_target_commutemode(),
prep_target_cross(),
prep_target_edulevel(),
prep_target_employment(),
prep_target_ethnicity(),
prep_target_gender(),
prep_target_h_size(),
prep_target_income(),
prep_target_kids(),
prep_target_race(),
prep_target_univstudent(),
prep_target_vehicles(),
prep_target_workers(),
prep_transit_target(),
run_tabulate_method()