gcode_one: 'gcode_one' Geocodes a single address using ggmap

Description Usage Arguments Details Value

View source: R/gcode_one.R

Description

gcode_one Geocodes a single address using ggmap

Usage

1
gcode_one(address)

Arguments

address

A single character object. The address to be geocoded.

Details

This function geocodes an address, returning a vector of information containing latitude, longitude and full address.Google's API does not allow more than 50 req/sec, so I force a pause of 1/40 of a sec just to be safe.

Value

Returns a three element vector: c(lat,long, full_address)


12mre1/geocodr documentation built on Oct. 30, 2019, 4:02 a.m.