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

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`