Description Usage Arguments Value Examples
Read tables directly from a zipped GTFS feed
1 2 3 |
name |
name of the table to read, without ".txt" extension. Current tables include 'agency', 'stops', 'routes', 'trips', 'stop_times', 'calendar', 'calendar_dates', 'fare_attributes', 'fare_rules', 'shapes', 'frequencies', 'transfers', 'feed_info'. See the GTFS Static Reference for a full list. |
gtfs |
location of zipped GTFS feed |
data.table of GTFS table
1 2 | gtfs <- system.file('extdata', 'gtfs.zip', package = 'speedRT')
stop_times <- readGTFS('stop_times', gtfs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.