Learn R Programming

tidytransit (version 1.4)

plot.tidygtfs: Plot GTFS stops and trips

Description

Plot GTFS stops and trips

Usage

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

Value

plot

Arguments

x

a gtfs_obj as read by read_gtfs()

...

further specifications

Examples

Run this code
# \donttest{
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