stopSearch: Stop Search

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

A function to preform the Stop Search API Call.

Usage

1
stopSearch(x, y, key)

Arguments

x

longitude of query location (numeric)

y

latitude of query location (numeric)

key

your Walk Score API key (string)

Details

The Stop Search API Call returns the sixteen closest stops to a query location which service unique routes.

Value

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.

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

stopDetails, networkSearch

Examples

1
2
3
4
## Not run: 
stopSearch(-73.98496,40.74807,"your key")

## End(Not run)

walkscoreAPI documentation built on May 2, 2019, 3:41 p.m.