coordinates2politics: Coverts latitude and longitude coordinates to politics...

Description Usage Arguments Value References See Also Examples

Description

A function to return the countries, states, provinces, cities, constituencies and neighborhoods that the latitude and longitude point lies within

Usage

1
coordinates2politics(latitude, longitude, session = RCurl::getCurlHandle())

Arguments

latitude

The latitude (numeric) of the point you wish to reference.

longitude

The longitude (numeric) of the point you wish to reference.

session

The CURLHandle object giving the structure for the options and that will process the command. For curlMultiPerform, this is an object of class code MultiCURLHandle-class.

Value

Returns a JSON string.

References

http://www.datasciencetoolkit.org/developerdocs#coordinates2politics

See Also

getURL, getCurlHandle

Examples

1
2
3
4
## Not run: 
coordinates2politics(37.769456, -122.429128)

## End(Not run)

rtelmore/RDSTK documentation built on May 12, 2019, 4:26 p.m.