Aggregate targets to higher-level geography
aggregate_targets.RdAggregate targets to a higher-level geography by combining specified columns.
Use within update_targets() to support aggregation logic.
Details
Iterates over mapping of new targets to old targets.
Sums values for each new target across specified old targets and rows.
Returns a copy; does not modify by reference.
Assumes valid mapping and input schema; errors if missing.
See also
check_group_sum, update_targets, aggregate_targets, create_target_update_table
Other weighting pipeline:
calc_day_weights(),
calc_linked_trip_weights(),
calc_person_weights(),
calc_sample_plan_counts(),
calc_tour_weights(),
calc_trip_weights(),
create_ie_adjustment_data(),
create_target_update_table(),
format_income_bins(),
get_day_groups(),
get_income_broad(),
get_income_broad_xwalk(),
prepare_zone_groups(),
update_daypat_seed(),
update_daypat_targets(),
update_income_broad_labels(),
update_rate_report(),
update_targets()