normal_phone | R Documentation |
Take US phone numbers in any number of formats and try to convert them to a standard format.
normal_phone(
number,
format = "(%a) %e-%l",
na_bad = FALSE,
convert = FALSE,
rm_ext = FALSE
)
number |
A vector of phone number in any format. |
format |
The desired output format, with |
na_bad |
logical; Should invalid numbers be replaced with |
convert |
logical; Should |
rm_ext |
logical; Should extensions be removed from the end of a number. |
A normalized telephone number.
normal_phone(number = c("916-225-5887"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.