add_grid_table: Add a grid table to a GTFS feed

Description Usage Arguments Details Value See Also

View source: R/construct.R

Description

Add a grid table to a GTFS feed

Usage

1

Arguments

gtfs

An object of class gtfs.

grid

A data.table object created with created with create_grid_table().

Details

The grid table of a GTFS-Multi feed always has the same structure as the stops table in a regular GTFS feed. Instead of a true transit stop location, each row represents a grid point (i.e. the centroid of a pixel in the reference grid).

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

See Also

create_grid_table()


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