connections: API "connections" endpoint

Description Usage Arguments Value Examples

Description

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

Usage

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

Arguments

...

from and to are required

.protocol

the connection protocol; either http or https (default)

Value

the connections as a dataframe

Examples

1
2
connections(from = "Bern", to = "Burgdorf")
connections(from = "Basel", to = "Bern")

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