Description Usage Arguments Details Value Note Author(s) References See Also Examples
A function to perform the Stop Details API call, which provides additional information about a transit stop of interest.
1 | stopDetails(stopid, key)
|
stopid |
The stop ID of the stop of interest. (string) |
key |
your Walk Score API key. (string) |
Stop ID is a unique string of characters used to identfy stops. They can be obtained through the search functions provided in this library.
Returns an object of class StopDetails
, basically a list of the following elements:
stopID |
ID of the stop of interest (same as input ID) |
stopName |
Name of stop of interest. |
stopLong |
Longitude of stop of interest. |
stopLat |
Latitude of stop of interest. |
routeList |
List of route ID's which serve the stop of interest. |
Visit www.walkscore.com for information on Walk Score and to obtain an API key
John Whalen
http://www.walkscore.com/professional/public-transit-api.php
1 2 3 4 | ## Not run:
stopDetails("s13993", "your key")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.