filter_valid_stop_times | R Documentation |
Filter a GTFS data read using gtfs2gps::read_gtfs(). It removes stop_times with NA values in arrival_time, departure_time, and arrival_time_hms. It also filters stops and routes accordingly.
filter_valid_stop_times(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_valid_stop_times(poa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.