Takes a list of data frames representing the GTFS format and saves them as GTFS Zip file.

gtfs_write(
  gtfs,
  folder = getwd(),
  name = "gtfs",
  stripComma = TRUE,
  stripTab = TRUE,
  stripNewline = TRUE,
  quote = FALSE
)

Arguments

gtfs

named list of data.frames

folder

folder to save the gtfs file to

name

the name of the zip file without the .zip extension, default "gtfs"

stripComma

logical, should commas be stripped from text, default = TRUE

stripTab

logical, should tab be stripped from text, default = TRUE

stripNewline

logical, should newline tag be stripped from text, default = TRUE

quote

logical, should strings be quoted, default = FALSE, passed to `data.table::fwrite`