50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

tidytransit (version 1.0.0)

plot.tidygtfs: Plot GTFS stops and trips

Description

Plot GTFS stops and trips

Usage

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

Arguments

x

a gtfs_obj as read by read_gtfs()

...

further specifications

Examples

Run this code
# NOT RUN {
local_gtfs_path <- system.file("extdata",
                              "google_transit_nyc_subway.zip",
                              package = "tidytransit")
nyc <- read_gtfs(local_gtfs_path)
plot(nyc)
# }

Run the code above in your browser using DataLab