add_transfer_tables.Rd
Add a transfer table to a GTFS feed
add_transfer_tables(gtfs, ...)
An object of class gtfs
.
One or more keyword arguments, with the key being the name of a
specific transport mode, and the value being a
data.table
object containing the travel times
between different transit stop locations for that mode. Such a table can be
created with create_transfer_table()
, using transit stop
locations as both origins and destinations.
An object of class gtfs. This is a
list of multiple data.table
objects
corresponding to the different dataset files of a GTFS feed. In addition to
those, the returned object will contain a
data.table
representing the transfer trips of
a GTFS-Multi feed. See details.
The transfer table of a GTFS-Multi feed always has the same structure as the transfer table in a regular GTFS feed. Each row contains the minimum travel time needed to travel between two different transit stop locations, using a certain transport mode. For each transport mode, corresponding travel times are stored in a separate column.
A transfer table already present in the input gtfs object will be overwritten.