gw_geocode | R Documentation |
Apply a previously build geocoder to target data. This function will
apply whatever unique variables exist in the geocoder. See gw_build_geocoder
for options.
gw_geocode(.data, type, var, zip, class, local, local_short, local_place, threshold)
.data |
A target data set |
type |
Geocoder type; one of either |
var |
Address variable in the target data set, which should contain the house number, street directionals, name, and suffix. |
zip |
Name of zipcode variable in the taget data set (optional). |
class |
Output class; one of either |
local |
Name of object containing a local geocoder built with
|
local_short |
Name of object containing a local, short style geocoder
built with |
local_place |
Name of object containing a local, placename style geocoder
built with |
threshold |
For the city candidate geocoder, what score is the minimum acceptable? |
A copy of the target data with georeferenced data applied to it.
gw_build_geocoder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.