surname_match: Determines which surnames match to the Census list.
Description
Determines which surnames match to the Census list.
Usage
surname_match(voter_file, surname_col = "last_name", strip_special = FALSE)
Value
A vector of logicals denoting a match or not.
Arguments
- voter_file
The voter file, with each row consisting of a voter.
- surname_col
A string denoting the surname column.
- strip_special
Whether to strip special characters before matching in
the surname database.