g_geocode: g_geocode Function

Description Usage Arguments Examples

Description

This function allows you retrieve the latitude and longitude by using a Google API

Usage

1
2
g_geocode(addr = NULL, city = NULL, state = NULL, api_key = NULL,
  retrytimes = 5)

Arguments

city

The city.

state

The state.

api_key

The Google api_key. If NULL, a default value from getcredentials will be used.

retrytimes

Number of times to try if you do not get a 200 return code

address

The street address.

Examples

1
g_geocode(addr="222 Malone St", city="Houston", state="TX")

KonoAnalytics/KonostdlibR documentation built on May 8, 2019, 5:47 p.m.