R/filters.R
filter_feed_by_area.Rd
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_area(gtfs_obj, area)
gtfs feed (tidygtfs object)
all trips passing through this area are kept. Either a bounding box (numeric vector with xmin, ymin, xmax, ymax) or a sf object.
tidygtfs object with filtered tables