gtfs_route_headway {gtfsrouter} | R Documentation |
Route headway
Description
Calculate a vector of headway values – that is, time intervals between consecutive services – for all routes between two specified stations.
Usage
gtfs_route_headway(
gtfs,
from,
to,
from_to_are_ids = FALSE,
grep_fixed = TRUE,
quiet = FALSE
)
Arguments
gtfs |
A set of GTFS data returned from extract_gtfs or, for more efficient queries, pre-processed with gtfs_timetable. |
from |
Names, IDs, or approximate (lon, lat) coordinates of start
stations (as |
to |
Corresponding Names, IDs, or coordinates of end station. |
from_to_are_ids |
Set to |
grep_fixed |
If |
quiet |
If |
Value
A single vector of integer values containing headways between all services across a single 24-hour period
See Also
Other main:
gtfs_route()
,
gtfs_traveltimes()