pubtrans_ch_nearby: Issue a walkalytics pubtrans query
Description
pubtrans_ch_nearby calls the walkalytics pubtrans API which returns nearby public tansportation stops for Switzerland.
Usage
pubtrans_ch_nearby(x, y, max_walktime = 10, key = "my_walkalytics_key")
Arguments
x
latitude of starting point.
y
longitude of starting point.
max_walktime
output filter for maximum walking time in minutes.
key
your walkalytics subscription key which provides access to the API.
Value
The response object from the request. Use get_stops to directly extract nearby
public transportation stops and estimated walking times from the starting point to the stations.
Details
To get an API key, you need to register at https://dev.walkalytics.com/signin.
With the free starter account, you can make up to 100 calls a week to the API.