View source: R/get_stop_timetable.R
| build_timetable | R Documentation |
Joins the given trips and stop times, and then each resulting row to the
dates on which its trip runs. Used by get_stop_timetable() and
get_route_timetable().
build_timetable(gtfs, trips, stop_times, date, sort_by, call = parent.frame())
gtfs |
A GTFS object, as created by |
trips, stop_times |
The (possibly filtered) |
date |
A |
sort_by |
A character vector with the columns to sort the timetable by.
It may include the temporary columns |
call |
The environment of the calling function, in which errors are reported. |
A data.table with the column date, followed by the columns of
trips and those of stop_times, sorted by sort_by.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.