timetable_reference: Get detailed information on a specific train

Description Usage Arguments Value Author(s) References See Also Examples

Description

Use a reference URL from either a departure or an arrival board to get more detailed information on a train.

Usage

1

Arguments

reference

character string. A reference URL from timetable_arrivals() or timetable_departures().

Value

A list with journey details.

Author(s)

Philipp Ottolinger

References

http://data.deutschebahn.com/dataset/api-fahrplan

See Also

timetable_departures, timetable_arrivals, timetable_station

Examples

1
2
3
4
5
6
7
## Not run: 
tt <- timetable_arrivals(station = berlin, direction = hamburg,
                         date = "2016-12-31", time = "12:00",
                         authkey = authKey, reference = TRUE)
timetable_reference(as.character(tt$ref[1]))

## End(Not run)

ottlngr/DBopen documentation built on May 24, 2019, 5:13 p.m.