frequencies_to_stop_times {gtfsrouter} | R Documentation |
frequencies_to_stop_times
Description
Convert a GTFS 'frequencies' table to equivalent 'stop_times' that can be used for routing.
Usage
frequencies_to_stop_times(gtfs)
Arguments
gtfs |
A set of GTFS data returned from extract_gtfs. |
Value
The input GTFS data with data from the 'frequencies' table converted
to equivalent 'arrival_time' and 'departure_time' values in stop_times
.
See Also
Other augment:
gtfs_transfer_table()
Examples
## Not run:
# Presume an input feed has been created and includes a "frequencies" table:
gtfs2 <- frequencies_to_stop_times (gtfs)
# "gtfs2" will then have an expanded "stop_times" table, with all
# "frequencies" entries converted to equivalent absolute stop times.
## End(Not run)
[Package gtfsrouter version 0.1.4 Index]