Get day group data table
get_day_groups.RdRetrieve the day group data table from settings for use in weighting and reporting. Use to map day-of-week groups to travel days in survey pipelines.
Value
data.table with columns:
day_group
— day group name travel_dow
— travel day-of-week Rows: one per group.
Details
Extracts day group mapping from settings.
Returns a data.table with day group and travel day-of-week columns.
Returns a copy; does not modify by reference.
Assumes valid settings structure; errors if missing.
See also
scripts/weighting/get_day_groups.R
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_income_broad(),
get_income_broad_xwalk(),
prepare_zone_groups(),
update_daypat_seed(),
update_daypat_targets(),
update_income_broad_labels(),
update_rate_report(),
update_targets()