plot_servicesupply: Plot Scheduled Vehicle-Hours by Route

View source: R/plot_service_planning.R

plot_servicesupplyR Documentation

Plot Scheduled Vehicle-Hours by Route

Description

Sums scheduled end-to-end trip durations for each route and service pattern. Frequency-based trips contribute all departures at their headway intervals.

Usage

plot_servicesupply(gtfs, top_n = 20L, max_patterns = 12L)

Arguments

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.

Value

A 'ggplot' object. Each bar is scheduled vehicle-hours for one route on one representative service-pattern day.

References

[FTA National Transit Database](https://www.transit.dot.gov/ntd)

Examples

plot_servicesupply(for_rail_gtfs)


GTFSwizard documentation built on Nov. 18, 2026, 1:07 a.m.