A function to perform the basic Transit Score API call.
Usage
getTS(x, y, city, state, key)
Arguments
x
longitude of query location (numeric)
y
latitude of query location (numeric)
city
name of core city where the query location is located (string)
state
postal abriviation of query location's state (string)
key
your Walk Score API key (string)
Value
TransitScore, basically a list of the following elements:
transitscore
Transit Score of query location.
url
Link to Walk Score page associated with your query.
description
Qualitative description of query location regarding transit.
summary
Summary of nearby routes and stops.
Details
The Transit Score API call only works in supported cities. Use the functions "checkTSsupport" or "getTScities" to check for support in the city of interest. Also note that calls should use the core city name, even when the query location is technically in a suburb of the core city.