create_transfer_table: Create a transfer table for a set of origins and destinations

Description Usage Arguments Details See Also

View source: R/construct.R

Description

Create a transfer table for a set of origins and destinations

Usage

1
2
3
4
5
6
7
8
create_transfer_table(
  origins,
  destinations,
  streetnet,
  d_limit = Inf,
  min_time = 120,
  ...
)

Arguments

origins

A data.table object containing the origin locations of the transfer trips. See details.

destinations

A data.table object containing the destination locations of the transfer trips. See details.

streetnet

The street network as an object of class sfnetworks, dodgr_streetnet or dodgr_streetnet_sc.

d_limit

Upper distance limit (as-the-crow-flies) in meters to consider a possible transfer between an origin and a destination.

min_time

Minimum travel time for any transfer trip in seconds, independent of the calculated travel time by the routing algorithm.

...

Additional parameters passed on to streetnet_traveltimes(). When parameter streetnet is of class sfnetworks, these include the time_column and weight_column parameters. See streetnet_traveltimes() for details.

Details

Both origins and destinations should be given in the format of a stops table of a GTFS feed.

The format of a transfer table can be used to model both true transit transfer trips as well as access, direct and egress trips:

See Also

add_access_tables(), add_direct_tables(), add_egress_tables(), add_transfer_tables()


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