View source: R/plot_service_planning.R
| plot_servicesupply | R Documentation |
Sums scheduled end-to-end trip durations for each route and service pattern. Frequency-based trips contribute all departures at their headway intervals.
plot_servicesupply(gtfs, top_n = 20L, max_patterns = 12L)
gtfs |
A GTFS object. |
top_n |
Maximum number of routes to display. |
max_patterns |
Maximum number of the most frequent service patterns to display. Use 'Inf' to display all patterns. |
A 'ggplot' object. Each bar is scheduled vehicle-hours for one route on one representative service-pattern day.
[FTA National Transit Database](https://www.transit.dot.gov/ntd)
plot_servicesupply(for_rail_gtfs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.