stationboard: API "stationboard" endpoint

Description Usage Arguments Value Examples

View source: R/stationboard.R

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 Aug. 31, 2018, 11:05 a.m.