# Get a basic example number
get_example("AU")
# Get an example mobile number
get_example("AU", type = "MOBILE")
# Example phone number for an invalid type
get_example("AU", type = "VOICEMAIL")
# Get an example invalid number
get_example("AU", valid = FALSE)
# Get a combination of the previous examples
get_example(c("AU", "AU", "AU", "AU" ),
c(NA, "MOBILE", "VOICEMAIL", NA ),
c(TRUE, TRUE, TRUE, FALSE))
Run the code above in your browser using DataLab