write_gtfs | R Documentation |
Write a tidygtfs object to a zip file
write_gtfs(gtfs_obj, zipfile, compression_level = 9, as_dir = FALSE)
gtfs_obj |
gtfs feed (tidygtfs object) |
zipfile |
path to the zip file the feed should be written to |
compression_level |
a number between 1 and 9.9, passed to zip::zip |
as_dir |
if TRUE, the feed is not zipped and zipfile is used as a directory path. Files within the directory will be overwritten. |
Invisibly returns gtfs_obj
Auxilliary tidytransit tables (e.g. dates_services
) are not exported.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.