Reads GTFS text files from either a local
.zip file or an URL and
validates them against GTFS specifications.
The path to a GTFS
A character vector containing the text files to be read from the
GTFS (without the
Whether to hide log messages and progress bars (defaults to TRUE).
Whether to display warning messages (defaults to TRUE).
A GTFS object: a
data.tables in which each
index represents a GTFS text file. In case of parsing failures (e.g. files
with more/less columns than specified in the file header), the function
throws an error detailing where such failures occurred.
The column types of each
data.table in the final GTFS object conform
as closely as possible to the
Google's Static GTFS Reference.
Exceptions are date-related columns (such as
end_date, for example), which are converted to
Date objects, instead of being kept as
integers, allowing for
easier data manipulation. These columns are converted back to
integers when writing the GTFS object to a
.zip file using
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.