geocodeLocation.Rd
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)
A list with components:
Location latitude (decimal degrees)
Location longitude (decimal degrees)
Location elevation (meters)
Other Location:
Location
,
Location-class
,
buildLocationTemplate()
,
getCountryCodes()
,
getLocationTypes()
,
lookupNOAAStationID()
,
writeLocationTemplate()
caldwell <- geocodeLocation("2 Caldwell Dr, Ithaca, NY")
lat <- caldwell$latitude
lon <- caldwell$longitude
alt <- caldwell$altitude