View source: R/data-item-cleaning.R
clean_postal | R Documentation |
Clean postal codes
clean_postal(postal, keep_unknown = FALSE)
postal |
A character vector of postal codes. |
keep_unknown |
Replace values for "unknown" with |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.