vvo_getTrip: Get a Trip by StopID, TripID and Time

View source: R/VVOLib.R

vvo_getTripR Documentation

Get a Trip by StopID, TripID and Time

Description

Get a Trip by StopID, TripID and Time

... or by StopID and Departure

Usage

vvo_getTrip(stopid, tripid, time = Sys.time())

vvo_getTripByDep(stopid, departure)

Arguments

stopid

StopID (can be obtained by vvo_getStops)

tripid

TripID (can be obtained by vvo_getDeps). Note that its not an ID for a specific trip, but for a route (e.g. all Trips on line 1 from Prohlis to Leutewitz have the same ID)

time

Departuretime of the specific trip on the specified station. Default is current time.

departure

One observation from vvo_getDeps

Value

Tibble with Informations about all Stations in the Trip


BadWolf97/VVO-RLib documentation built on April 15, 2023, 9:23 p.m.