Fixes the times after midnight of stop_times (and of frequencies)
silently, as the functions that use the times do before using them. A
feed whose times were already fixed is returned unchanged, without being
copied, so a function called by another one doesn't fix them again.
fix_overnight_in_call(
gtfs,
trip_id = NULL,
frequencies = FALSE,
by_reference = FALSE
)The GTFS object.
A GTFS object.
A character vector with the trip_ids to fix, or NULL
for every trip.
Whether to fix the end_times of frequencies too.
Whether to write the fixed times into
gtfs$stop_times itself.