R/filters.R
filter_feed_by_date.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_date(
gtfs_obj,
extract_date,
min_departure_time,
max_arrival_time
)
gtfs feed (tidygtfs object)
date to extract trips from this day (Date or "YYYY-MM-DD" string)
(optional) The earliest departure time. Can be given as "HH:MM:SS", hms object or numeric value in seconds.
(optional) The latest arrival time. Can be given as "HH:MM:SS", hms object or numeric value in seconds.
tidygtfs object with filtered tables
filter_stop_times
, filter_feed_by_trips
,
filter_feed_by_trips
, filter_feed_by_date