This constructs a local geocoder that is based on the latest release of the City of St. Louis's master address list. This function therefore requires an internet connection, and will error if your computer is offline. Since the actual geocoding is done with a second function, however, it is possible to build a geocoder and store it offline for repeated use.
gw_build_geocoder(class, crs = 4269, return = c("coords", "parcel", "zip"), include_units = FALSE)
class | One of either |
---|---|
crs | A numeric code corresponding to the desired coordinate system for the column output if
|
return | Optional; A character scalar or vector that describes the type of information to be applied
to the target data. Options include the City's address identification numbers ( |
include_units | A logical scalar; if |
A sf
object or tibble with the requested data in the return
argument as well as
a address
variable containing the full street address string.