geocode_api: geocode_api

Description Usage Arguments Value Examples

Description

geocode_api is a funtion that uses City of Milwaukee Public geocode API to geocode addresses. (Specifically, the MAI-then-DIME method.)

Usage

1
geocode_api(batch, fields)

Arguments

batch

Data frame to be geocoded.

fields

Character vector of batch fields containing street address.

Value

A data frame of the original batch data frame, with new geocoding fields added.

Examples

1
2
3
4
5
## Not run: 
raw_geo <- geocode_api(head(raw_wibrs_2005thru2015), "LOCATION")
raw_geo

## End(Not run)

MatthewSchumwinger/mkedata documentation built on May 7, 2019, 4:34 p.m.