clean_postal {naaccr} | R Documentation |
Clean postal codes
Description
Clean postal codes
Usage
clean_postal(postal, keep_unknown = FALSE)
Arguments
postal |
A character vector of postal codes. |
keep_unknown |
Replace values for "unknown" with |
Value
A character vector with leading and trailing whitespace removed.
If keep_unknown
is FALSE
, blanks and values representing
uncertain postal codes are replaced with NA
.
[Package naaccr version 2.0.2 Index]