stopDetails {walkscoreAPI} | R Documentation |
Stop Details
Description
A function to perform the Stop Details API call, which provides additional information about a transit stop of interest.
Usage
stopDetails(stopid, key)
Arguments
stopid |
The stop ID of the stop of interest. (string) |
key |
your Walk Score API key. (string) |
Details
Stop ID is a unique string of characters used to identfy stops. They can be obtained through the search functions provided in this library.
Value
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. |
Note
Visit www.walkscore.com for information on Walk Score and to obtain an API key
Author(s)
John Whalen
References
http://www.walkscore.com/professional/public-transit-api.php
See Also
Examples
## Not run:
stopDetails("s13993", "your key")
## End(Not run)