plot.tidygtfs: Plot GTFS stops and trips

View source: R/plot.R

plot.tidygtfsR Documentation

Plot GTFS stops and trips

Description

Plot GTFS stops and trips

Usage

## S3 method for class 'tidygtfs'
plot(x, ...)

Arguments

x

a gtfs_obj as read by read_gtfs()

...

further specifications

Value

plot

Examples


local_gtfs_path <- system.file("extdata",
                              "google_transit_nyc_subway.zip",
                              package = "tidytransit")
nyc <- read_gtfs(local_gtfs_path)
plot(nyc)



r-transit/tidytransit documentation built on Feb. 18, 2024, 8:03 p.m.