Attempt to geocode a string

Share:

Description

Enter a string and if found, the latitude and longitude is returned using the HERE API

Usage

1
geocodeHERE_simple(search, App_id = "", App_code = "")

Arguments

search

A string to search

App_id

App_id to use the production HERE API. Get one here... http://developer.here.com/get-started. If left blank, will default to demo key with an unknown usage limit.

App_code

App_code to use the production HERE API. Get one here... http://developer.here.com/get-started. If left blank, will default to demo key with an unknown usage limit.

Value

A list containing Latitude and Longitude if found, NA otherwise

Examples

1
2
3
geocodeHERE_simple("chicago")
geocodeHERE_simple("wrigley field chicago IL")
geocodeHERE_simple("233 S Wacker Dr, Chicago, IL 60606")