| read_gtfs | R Documentation |
Imports a GTFS zip archive and converts it to 'wizardgtfs'.
read_gtfs(file_path = NULL, files = NULL, quiet = TRUE, ...)
file_path |
Path to a GTFS '.zip' archive. |
files |
Optional character vector of table names without '.txt'. |
quiet |
Logical. Suppress importer messages. |
... |
Additional arguments passed to [gtfsio::import_gtfs()], including the legacy argument 'file.path'. |
A validated 'wizardgtfs' object.
[GTFSwizard::write_gtfs()], [GTFSwizard::as_wizardgtfs()]
path <- tempfile(fileext = ".zip")
write_gtfs(for_rail_gtfs, path)
gtfs <- read_gtfs(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.