Lookup the coordinates and elevation for the specified location. The location text will be parsed by DataScienceToolkit's `street2coordinates` API into coordinates and the elevation will be queried using the `coordinates2statistics` API.

geocodeLocation(location)

Arguments

location

Location to parse (ie Ithaca, NY; Caldwell Dr, Ithaca, NY; etc...)

Value

A list with components:

latitude

Location latitude (decimal degrees)

longitude

Location longitude (decimal degrees)

altitude

Location elevation (meters)

Examples

caldwell <- geocodeLocation("2 Caldwell Dr, Ithaca, NY")
lat <- caldwell$latitude
lon <- caldwell$longitude
alt <- caldwell$altitude