| get_fleet | R Documentation |
Estimates the number of active trip instances from their first departure to final arrival. Frequency-based services are expanded from 'frequencies.txt'.
get_fleet(gtfs, method = "by_route")
gtfs |
A GTFS object. |
method |
One of '"by_route"', '"by_hour"', '"peak"', or '"detailed"'. Legacy dotted values remain accepted. |
A tibble whose observational unit depends on 'method':
'route_id', optional 'direction_id', 'service_pattern', 'pattern_frequency', and maximum simultaneous 'fleet'.
'service_pattern', 'pattern_frequency', 'hour', and maximum simultaneous 'fleet'.
The three highest hourly fleet estimates per service pattern, with the same columns as '"by_hour"'.
'route_id', optional 'direction_id', vehicle-change event 'net.fleet', cumulative 'fleet', event 'time' in seconds, 'service_pattern', and 'pattern_frequency'.
GTFS times beyond 24 hours remain in the following service day rather than being wrapped.
get_fleet(for_rail_gtfs, "by_route")
get_fleet(for_rail_gtfs, "by_hour")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.