filter_feed_by_stops | R Documentation |
Only stop_times, stops, routes, services (in calendar and calendar_dates), shapes, frequencies and transfers belonging to one of those trips are kept.
filter_feed_by_stops(gtfs_obj, stop_ids = NULL, stop_names = NULL)
gtfs_obj |
gtfs feed (tidygtfs object) |
stop_ids |
vector with stop_ids. You can either provide stop_ids or stop_names |
stop_names |
vector with stop_names (will be converted to stop_ids) |
tidygtfs object with filtered tables
The returned gtfs_obj likely contains more than just the stops given (i.e. all stops that belong to a trip passing the initial stop).
filter_feed_by_trips
, filter_feed_by_trips
, filter_feed_by_date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.