Returns a subsetted voter file whose rows consist of voters that have special characters in their last name.
get_special_character_surnames(
voter_file,
surname_col = "last_name",
regex = "[^A-Za-z]"
)
A dataframe of voters whose surname has special characters.
The voter file, with each row consisting of a voter.
A string denoting the surname column.
A string denoting the regular expression to use for querying the the special characters.