Create a multinet object from a list of data tables

as_multinet(x)

Arguments

x

A list of data.table objects each correspoding to a dataset file of a GTFS-Multi feed.

Value

An object of class multinet, which is a list of multiple data.table objects corresponding to the different dataset files of a GTFS-Multi feed.

Note

Parameter x can also be an object of class gtfs, since this is nothing more than a list of data.table objects. However, the GTFS-Multi specific tables should be present in the object. These are the grid, access, direct, egress and transfer tables. Use add_grid_table(), add_access_tables(), add_direct_tables(), add_egress_tables() and add_transfer_tables() to add them to a regular GTFS feed.