HERE_geocode: Get geocoding information using HERE.com Geocoder API

Description Usage Arguments Value

View source: R/HERE_geocode.R

Description

HERE_geocode is designed to take an address string, and user app credentials. The function queries the HERE.com Geocoder API (https://developer.here.com/documentation/geocoder/topics/what-is.html) and returns the drive time from the JSON output code. This geocoding information from the JSON is originally returned as a dataframe.

Usage

1
2
3
4
5
6
7
8
HERE_geocode(
  address = NULL,
  app_api = NULL,
  app_id = NULL,
  app_code = NULL,
  dev = FALSE,
  verbose = FALSE
)

Arguments

address

a string; the address to be queried for geocoded information.

app_api

a string; the user's API Key Credentials for the HERE.com JavaScript/REST (requires registration)

app_id

a string; the user's App ID for the HERE.com JavaScript/REST (requires registration)

app_code

a string; the user's App Code for the HERE.com JavaScript/REST (requires registration)

dev

a boolean; TRUE to use the development app, FALSE to use the production app

verbose

a boolean; TRUE to display json webaddress, FALSE to not display json webaddress

Value

location information for the entered address string: OrigAddr, Latitude, Longitude, Label, Country, State, County, City, District, Street, HouseNumber, PostalCode


mike-decarlo/gcd documentation built on Oct. 19, 2020, 9:16 a.m.