Select and prepare the stop_times of the relevant trips
prepare_trip_stops(gtfs, trip_id, with_departure = FALSE, with_row = FALSE)A new data.table with the trip_id, stop_id and
stop_sequence (and, if with_departure is TRUE, the
departure_time, and if with_row is TRUE, the row) of the selected
stop_times, sorted by trip_id and stop_sequence, plus the stop_lat
and stop_lon of each stop.
A GTFS object.
The trip_ids whose stop_times should be selected, or NULL
to select every trip.
Whether to also select the departure_time.
Whether to also return the row of each selected stop_time
in gtfs$stop_times.