Learn R Programming

charlatan (version 0.6.1)

ch_phone_number: Create fake phone numbers

Description

Create fake phone numbers

Usage

ch_phone_number(n = 1, locale = NULL)

Arguments

n

(integer) number of things to get, any non-negative integer

locale

(character) the locale to use. See PhoneNumberProvider$new()$allowed_locales() for locales supported (default: en_US)

See Also

PhoneNumberProvider

Examples

Run this code
ch_phone_number()
ch_phone_number(10)
# or even ch_phone_number(500)

# locales
ch_phone_number(locale = "fr_FR")
ch_phone_number(locale = "uk_UA")
ch_phone_number(locale = "en_CA")
ch_phone_number(locale = "lv_LV")

Run the code above in your browser using DataLab