filter_single_trip | R Documentation |
Filter a GTFS data by keeping only one trip per shape_id. It also removes the unnecessary routes and stop_times accordingly.
filter_single_trip(gtfs_data)
gtfs_data |
A list of data.tables read using gtfs2gps::reag_gtfs(). |
A filtered GTFS data.
poa <- read_gtfs(system.file("extdata/poa.zip", package = "gtfs2gps"))
subset <- filter_single_trip(poa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.