View source: R/data-item-cleaning.R
| clean_ssn | R Documentation |
Clean Social Security ID numbers
clean_ssn(number, keep_unknown = FALSE)
number |
A character vector of Social Security identification numbers. No spaces or punctuation, only numbers. |
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
unknown Social Security ID numbers are replaced with NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.