-
Notifications
You must be signed in to change notification settings - Fork 0
add_cleaned_addresses() function
Chris Peak edited this page May 23, 2023
·
2 revisions
This adds a column cleaned.address
to a data frame. The new column contains a cleaned replica of street addresses in an existing column fulladdress
, which must already be present in the input data frame.
In order to use this function, you must install the postmastr package. To do this, use the command
remotes::install_github("slu-openGIS/postmastr")
Make sure you source (load) the function in the address_match.R file in the main directory:
source('address_match.R')
Then, assuming you have a data frame df
which contains a column fulladdress
with street addresses, you could add a new cleaned_address
column as so:
df <- add_cleaned_addresses(df)