Calculate the route headways of a feed on its busiest day
summarise_route_frequency(feed, service_days, date, from, to)A list with the elements headways (the headway of each route and
direction, in minutes, named by route_id), stats (their summary, as
created by summarise_distribution()), date, from and to (the day
and time of day in which the headways were measured, NA if there is
none).
A dt_gtfs object, already filtered.
The service days of feed, as returned by
get_service_days().
A Date vector, or NULL. The day is chosen among these dates.
Strings in the "HH:MM:SS" format, or NULL, in which case
the time of day spans the departures of the day, rounded out to whole
hours.