Create income broad crosswalk
get_income_broad_xwalk.RdConstructs a crosswalk table mapping detailed and followup income bins to broad bins for harmonization.
Value
data.table with columns:
income_detailed
— detailed bin income_followup
— followup bin income_broad
— broad bin lower
— lower bound upper
— upper bound detailed_label
— label for detailed bin followup_label
— label for followup bin Rows: one per bin mapping.
Details
Extracts lower and upper bounds for each bin from value_labels.
Joins detailed and followup bins to form a unified crosswalk.
Checks for duplicates and missing bins; errors if found.
Returns a copy; does not modify by reference.
See also
get_income_bounds
Other weighting pipeline:
aggregate_targets(),
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(),
prepare_zone_groups(),
update_daypat_seed(),
update_daypat_targets(),
update_income_broad_labels(),
update_rate_report(),
update_targets()