stationboard: API "stationboard" endpoint

Description Usage Arguments Value Examples

Description

For detailed api documentation see https://transport.opendata.ch/docs.html#stationboard

Usage

1
stationboard(..., .protocol = "https")

Arguments

...

the station or id parameter is required, if both are specified the id will be used

.protocol

the connection protocol; either http or https (default)

Value

the stationboard as a dataframe

Examples

1
2
3
stationboard(station = "Burgdorf")
stationboard(id = 8508005)
stationboard(station = "Basel", id = 8508005)

retowyss/swiss-public-transport-r documentation built on May 8, 2019, 6:50 p.m.