Learn R Programming

geocodeHERE (version 0.1.3)

geocodeHERE_simple: Attempt to geocode a string

Description

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

Usage

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

Run this code
geocodeHERE_simple("chicago")
geocodeHERE_simple("wrigley field chicago IL")
geocodeHERE_simple("233 S Wacker Dr, Chicago, IL 60606")

Run the code above in your browser using DataLab