Description Usage Arguments Value Examples
full_geocode is a function that geocodes addresses in Milwaukee, Wisconsin. Draft version geocodes crime data, first by matching against geoprocessed MAI, then using low_level funciton to access City geocode API.
1 | full_geocode(df, field, MAI)
|
df |
A dataframe with City of Milwaukee records to geocode. |
field |
(NOT IMPLEMENTED)Character string of single column name containing street address information to geocode. (Note: you may need to concatenate prior to using this function). |
MAI |
A data frame containing the Master Address Index, already geoprocessed against parcel centroids. |
A data frame.
1 2 3 4 5 6 7 8 | ## Not run:
data("raw_wibrs_2005thru2015")
crime_subset <- raw_wibrs_2005thru2015[sample(nrow(raw_wibrs_2005thru2015), 30), ]
data("geo_mai")
geo_crime <- full_geocode(crime_subset, "LOCATION", geo_mai)
head(geo_crime)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.