Learn R Programming

walkscoreAPI (version 1.2)

routeDetails: 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)

Value

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.

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.

References

http://www.walkscore.com/professional/public-transit-api.php

See Also

networkSearch,stopDetails

Examples

Run this code
## Not run: 
# routeDetails("r415","your key")
# ## End(Not run)

Run the code above in your browser using DataLab