Description Usage Arguments Value
std_phone()
standardizes North American phone numbers to a 10-digit
national format. Invalid or non-North American numbers are converted to NA
.
Note that std_phone()
only check for truly valid number ranges when
dialr = TRUE
; otherwise, all 10-digit numbers are considered valid.
1 | std_phone(x, dialr = test_dialr(), quiet = TRUE)
|
x |
A vector convertible to |
dialr |
Should the |
quiet |
Should the progress bar from dialr be shown? Ignored if
|
A character
vector of standardized phone numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.