geocode: Use BC Geocoder to geocode addresses. This is slow, goes...

View source: R/geocoding.R

geocodeR Documentation

Use BC Geocoder to geocode addresses. This is slow, goes through address list one by one

Description

Use BC Geocoder to geocode addresses. This is slow, goes through address list one by one

Usage

geocode(data, address_field = "addressString", localities = NULL)

Arguments

data

data frame with rows to be geocoded

address_field

column in data frame that contains the address string

localities

optional array of locality names to restrict search to

Value

data frame with 'X', 'Y' columns for longitude and latitude, as well as matching 'score', 'matchPrecision' and cleaned 'usedAddressString'


mountainMath/mountainmathHelpers documentation built on May 3, 2024, 5:55 p.m.