gw_build_geocoder: Build Local Geocoder

Description Usage Arguments Value See Also

View source: R/geocode.R


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)



One of either "sf" or "tibble".


A numeric code corresponding to the desired coordinate system for the column output if return includes "coords" as well as the object output if class is "sf".


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 (addrrecnum), parcel identification numbers (handle), zip-codes, and x and y coordinates (in decimal degrees).


A logical scalar; if TRUE, all individual records for apartment units will be included. If FALSE (default), only records for the overall building will be retained.


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.

See Also

gw_geocode, City of St. Louis Geocode Service

slu-openGIS/gateway documentation built on March 22, 2019, 5:49 p.m.