remove excess whitespace; keep only letters, numbers, and -
Examples
clean_address_text(c(
"3333 Burnet Ave Cincinnati OH 45219",
"33_33 Burnet Ave. Cincinnati OH 45219",
"33\\33 B\"urnet Ave; Ci!ncinn&*ati OH 45219",
"3333 Burnet Ave Cincinnati OH 45219",
"33_33 Burnet Ave. Cincinnati OH 45219"
))
#> [1] "3333 Burnet Ave Cincinnati OH 45219" "3333 Burnet Ave Cincinnati OH 45219"
#> [3] "3333 Burnet Ave Cincinnati OH 45219" "3333 Burnet Ave Cincinnati OH 45219"
#> [5] "3333 Burnet Ave Cincinnati OH 45219"