| gtfs_transfer_table {gtfsrouter} | R Documentation | 
gtfs_transfer_table
Description
Construct a transfer table for a GTFS feed.
Usage
gtfs_transfer_table(
  gtfs,
  d_limit = 200,
  min_transfer_time = 120,
  network = NULL,
  network_times = FALSE,
  quiet = FALSE
)
Arguments
| gtfs | A GTFS feed obtained from the extract_gtfs function. | 
| d_limit | Upper straight-line distance limit in metres for transfers. | 
| min_transfer_time | Minimum time in seconds for transfers; all values below this will be replaced with this value, particularly all those defining in-place transfers where stop longitudes and latitudes remain identical. | 
| network | Optional Open Street Map representation of the street network encompassed by the GTFS feed (see Examples). | 
| network_times | If  | 
| quiet | Set to  | 
Value
Modified version of the gtfs input with additional transfers table.
See Also
Other augment: 
frequencies_to_stop_times()
Examples
# Examples must be run on single thread only:
nthr <- data.table::setDTthreads (1)
berlin_gtfs_to_zip ()
f <- file.path (tempdir (), "vbb.zip")
g <- extract_gtfs (f, quiet = TRUE)
g <- gtfs_transfer_table (g, d_limit = 200)
# g$transfers then has fewer rows than original, because original transfer
# table contains duplicated rows.
data.table::setDTthreads (nthr)