| get_service_days | R Documentation |
Returns the days on which at least one service used by a trip runs (any
service, if trips has no service_id field), according to the calendar
and calendar_dates tables (either may be missing), and the number of
trips that run on each of them.
get_service_days(gtfs, count_trips = TRUE)
gtfs |
A GTFS object, as created by |
count_trips |
A logical. Whether to count the trips of each day. If
|
A data.table with the columns date and n_trips (NA if
trips has no service_id field or if count_trips = FALSE), sorted by
date, with one row per service day.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.