print.gtfs | R Documentation |
Prints a GTFS object suppressing the class
attribute.
## S3 method for class 'gtfs'
print(x, ...)
x |
A GTFS object. |
... |
Optional arguments ultimately passed to |
The GTFS object that was printed, invisibly.
gtfs_path <- system.file("extdata/ggl_gtfs.zip", package = "gtfsio")
gtfs <- import_gtfs(gtfs_path)
# subset 'gtfs' for a smaller output
gtfs <- gtfs[c("routes", "trips")]
print(gtfs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.