Trim a GTFS file between two dates
gtfs_trips_per_zone(
gtfs,
zone,
startdate = min(gtfs$calendar$start_date),
enddate = min(gtfs$calendar$start_date) + 31,
zone_id = 1,
by_mode = TRUE
)
Arguments
- gtfs
GTFS object from gtfs_read()
- zone
SF data frame of polygons
- startdate
Start date
- enddate
End date
- zone_id
Which column in `zone` is the ID column
- by_mode
logical, disaggregate by mode?