create_full_address: Combines relevant columns to create a complete address

Description Usage Arguments Value Examples

Description

This function combines the address component columns in a dataframe and returns an address vector. Also includes functions to remove problematic characters from the text that will interfere with geocoding

Usage

1
create_full_address(data, address.vars)

Arguments

data

name of dataset

address.vars

vector of address variables i.e. c("Address1", "Address2", "City")

Value

formatted vector of addresses

Examples

1
2
NEA$full_address<-create_full_address(NEA, c("CoAddress1", "CoAddress2",
"CoCity", "CoState", "CoZip"))

gmellon/neaR documentation built on May 14, 2019, 2:42 p.m.