Description Usage Arguments Examples
Extract phone numbers
1 | extract_phone(x, area = NULL, na.return = NA)
|
x |
A string or number to extract phone number from. |
area |
An area code |
na.return |
Value to return when no telephone number is found. |
1 2 3 4 | p <- c(NA, "1234567", "1234567890", "(123) 456-7890", "123.456.7890", 12345678900)
extract_phone(p)
extract_phone(p, area=555)
extract_phone(p, area=555, na.return = "no phone number supplied")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.