| write_gtfs | R Documentation |
Exports a GTFS object to a zip archive. Internal 'dates_services' data are omitted, GTFS dates use 'YYYYMMDD', and spatial stops/shapes are converted back to standard text-table columns.
write_gtfs(gtfs, zipfile = NULL, ...)
gtfs |
A GTFS object. |
zipfile |
Optional output '.zip' path. When omitted in an interactive session, a save-file window opens. The '.zip' extension is added when needed. |
... |
Additional arguments passed to the format-specific writer. |
The normalized output path, invisibly.
[GTFSwizard::read_gtfs()]
path <- tempfile(fileext = ".zip")
write_gtfs(for_rail_gtfs, path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.