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

Description Usage Arguments Value Author(s) 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 (from DSTK website).

Usage

1
coordinates2politics(latitude, longitude, session=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

This is 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.

Author(s)

Ryan Elmore

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)

RDSTK documentation built on May 2, 2019, 6:49 a.m.