add_egress_tables: Add an egress table to a GTFS feed

Description Usage Arguments Details Value Note See Also

View source: R/construct.R

Description

Add an egress table to a GTFS feed

Usage

1

Arguments

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 transit stops and grid points for that mode. Such a table can be created with create_transfer_table(), using transit stop locations as origins and grid points as destinations.

Details

The egress 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 from a transit stop location to a grid point in the reference grid, using a certain transport mode. For each transport mode, corresponding travel times are stored in a separate column.

Value

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 egress trips of a GTFS-Multi feed. See details.

Note

An egress table already present in the input gtfs object will be overwritten.

See Also

create_transfer_table()


triply-at/gtfsmulti documentation built on Dec. 24, 2021, 1:21 a.m.