routeDetails {walkscoreAPI} | R Documentation |
Route Details
Description
A function to perform the Route Details API call, which provides additional information about a particular route.
Usage
routeDetails(routeid, key)
Arguments
routeid |
Route ID number for the route of interest (string) |
key |
your Walk Score API key (string) |
Details
Route ID is a unique string of characters used to identfy routes. They can be obtained through the search functions provided in this library.
Value
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. |
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:
routeDetails("r415","your key")
## End(Not run)