View source: R/data-item-cleaning.R
clean_telephone | R Documentation |
Clean telephone numbers
clean_telephone(number, keep_unknown = FALSE)
number |
A character vector of telephone 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 numbers or patients without a number are replaced with NA
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.