Skip to contents

Geocode a table with addresses

Usage

geocodeAddresses(addressTable)

Arguments

addressTable

(data.frame) A table with a column of addresses prepared for the Degauss geocoder. Addresses must be formatted such as "123 Main Street Boston MA 02108" See https://degauss.org/using_degauss.html#Geocoding for more detailed information on input address formatting

Value

(data.frame) The original input table with columns lat and lon instead of the address column

Examples

dontrun
#> Error in eval(expr, envir, enclos): object 'dontrun' not found
{
  geocodeAddresses(addressTable = cohortWithAddresses)
}
#> Error in vctrs::vec_size_common(string = string, pattern = pattern, replacement = replacement,     .call = error_call): object 'cohortWithAddresses' not found