Description Usage Arguments Details Value Note Author(s) References See Also Examples
A function to preform the Stop Search API Call.
1 | stopSearch(x, y, key)
|
x |
longitude of query location (numeric) |
y |
latitude of query location (numeric) |
key |
your Walk Score API key (string) |
The Stop Search API Call returns the sixteen closest stops to a query location which service unique routes.
Returns a list of objects of class "Stop2", which are basically lists with the following elements:
stopID |
A unique ID for the particular stop, which can be used to get additional info about that stop. |
stopName |
Name of the particular stop. |
stopDistance |
Distance to the query location, in miles. |
stopLong |
Longitude of the particular stop. |
stopLat |
Latitude of the particular stop. |
routeDetails |
Object of class "RouteDetails", which lists the route id, name, catagory, and agency of the orute served at the stop. |
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:
stopSearch(-73.98496,40.74807,"your key")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.