Description Usage Arguments Details Value References Examples
pubtrans_ch_nearby
calls the walkalytics
pubtrans API which returns nearby public tansportation stops for Switzerland.
1 | pubtrans_ch_nearby(x, y, max_walktime = 10, key = "my_walkalytics_key")
|
x |
latitude of starting point. |
y |
longitude of starting point. |
max_walktime |
output filter for maximum walking time in minutes. |
key |
your |
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.
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.
Walkalytics API documentations
1 | pubtrans_ch_nearby(x = 8.0526331, y = 47.3933375, max_walktime = 10, key = "abcd1234")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.