View source: R/set_dwelltime.R
| set_dwelltime | R Documentation |
Sets dwell time at selected trip-stop calls and propagates each change to all later times in the same trip. Arrival at the edited stop is retained.
set_dwelltime(gtfs, duration = 30, trips = "all", stops = "all")
gtfs |
A GTFS object. |
duration |
One non-negative dwell time in seconds. |
trips, stops |
Character ID vectors or '"all"'. |
A modified 'wizardgtfs' object.
[GTFSwizard::edit_dwelltime()], [GTFSwizard::get_dwelltimes()]
edited <- set_dwelltime(
for_rail_gtfs,
duration = 30,
trips = for_rail_gtfs$trips$trip_id[1:2],
stops = for_rail_gtfs$stops$stop_id[1:2]
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.