The street address data in SLMPD releases (either ILEADSAddress and
ILEADSStreet or CADAddress and CADStreet) are stored in separate
columns. In order to faciliate geocoding, this function combines the fields and
removes inappropriate characters in the address fields.
Usage
cs_address(.data, address, street, newVar)
Arguments
.data
A tibble or data frame
address
Name of address number variable (typically either ILEADSAddress
or CADAddress)
street
Name of street name variable (typically either ILEADSStreet
or CADStreet)
newVar
Name of new variable to store concatenated address
Value
A copy of the object with a character vector that contains the concatenated
street address data.