write_gtfs: Write a tidygtfs object to a zip file

Description Usage Arguments Value Note

View source: R/io.R

Description

Write a tidygtfs object to a zip file

Usage

1
write_gtfs(gtfs_obj, zipfile, compression_level = 9, as_dir = FALSE)

Arguments

gtfs_obj

a 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.

Value

Invisibly returns gtfs_obj

Note

Auxilliary tidytransit tables (e.g. dates_services) are not exported.


tidytransit documentation built on Nov. 23, 2021, 5:08 p.m.