Description Usage Arguments Details Value Author(s) Examples
Find out which American State is the phone number from via US Area Code.
1 | whichState(phoneNumber, usa = TRUE)
|
phoneNumber |
US Phone Number: A string of 10 digits. There should be no spacing or punctuations between digits |
usa |
Set to TRUE by default. If usa is not true, the function cannot be executed because the US State Area codes only work for US Phone Numbers |
This function has been designed to extract the first 3 digits of the provided phone number, match them to the US State Area Codes and to find out which state the phone number is from. The phone number provided has to be a proper US phone number with 10 digits.
The US State where the Phone Number is from
Gerald Lee
1 | whichState(1234567890, usa=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.