Description Usage Arguments Details Value Note Author(s) References See Also Examples
A function to perform the Route Details API call, which provides additional information about a particular route.
1 | routeDetails(routeid, key)
|
routeid |
Route ID number for the route of interest (string) |
key |
your Walk Score API key (string) |
Route ID is a unique string of characters used to identfy routes. They can be obtained through the search functions provided in this library.
Returns an object of class RouteDetails
, basically a list of the following elements:
routeID |
The route ID of the route of intrest (same as input ID) |
routeName |
Name of the route of interest |
routeCatagory |
Mode of transportation associated with this route |
agency |
Transit agency associated with this route |
agencyURL |
Agency website |
routeGeometry |
Coordinates of route linestring, used for mapping the route. |
stopList |
List of stop ID's served by this route. |
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:
routeDetails("r415","your key")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.