Person Provider for English (United States)
Source:R/person-provider-en_US.R
PersonProvider_en_US.Rd
Person Provider for English (United States)
Person Provider for English (United States)
Details
Note for female and male components that we fall back on generic versions if the locale doesn't provide a male/female version. e.g., if no female first name we use first name
See also
Other en:
AddressProvider_en_GB
,
AddressProvider_en_NZ
,
AddressProvider_en_US
,
ColorProvider_en_US
,
CompanyProvider_en_US
,
ElementProvider_en_US
,
FileProvider_en_US
,
InternetProvider_en_AU
,
InternetProvider_en_US
,
JobProvider_en_US
,
LoremProvider_en_US
,
PersonProvider_en_GB
,
PersonProvider_en_NZ
,
PhoneNumberProvider_en_AU
,
PhoneNumberProvider_en_CA
,
PhoneNumberProvider_en_GB
,
PhoneNumberProvider_en_NZ
,
PhoneNumberProvider_en_US
,
PhoneNumberProvider_es_MX
,
SSNProvider_en_US
,
TaxonomyProvider_en_US
,
UserAgentProvider_en_US
,
english-language
Other US:
AddressProvider_en_US
,
ColorProvider_en_US
,
CompanyProvider_en_US
,
ElementProvider_en_US
,
FileProvider_en_US
,
InternetProvider_en_US
,
JobProvider_en_US
,
LoremProvider_en_US
,
PhoneNumberProvider_en_US
,
SSNProvider_en_US
,
TaxonomyProvider_en_US
,
UserAgentProvider_en_US
Super classes
charlatan::BareProvider
-> charlatan::BaseProvider
-> charlatan::PersonProvider
-> PersonProvider_en_US
Methods
Inherited methods
charlatan::BareProvider$bothify()
charlatan::BareProvider$lexify()
charlatan::BareProvider$numerify()
charlatan::BareProvider$random_digit()
charlatan::BareProvider$random_digit_not_zero()
charlatan::BareProvider$random_digit_not_zero_or_empty()
charlatan::BareProvider$random_digit_or_empty()
charlatan::BareProvider$random_element()
charlatan::BareProvider$random_element_prob()
charlatan::BareProvider$random_int()
charlatan::BareProvider$random_letter()
charlatan::BareProvider$randomize_nb_elements()
charlatan::BaseProvider$allowed_locales()
charlatan::BaseProvider$check_locale()
charlatan::BaseProvider$print()
charlatan::PersonProvider$change_messy()
charlatan::PersonProvider$first_name()
charlatan::PersonProvider$first_name_female()
charlatan::PersonProvider$first_name_male()
charlatan::PersonProvider$initialize()
charlatan::PersonProvider$last_name()
charlatan::PersonProvider$last_name_female()
charlatan::PersonProvider$last_name_male()
charlatan::PersonProvider$messy_is_possible()
charlatan::PersonProvider$messy_switch()
charlatan::PersonProvider$prefix()
charlatan::PersonProvider$prefix_female()
charlatan::PersonProvider$prefix_male()
charlatan::PersonProvider$render()
charlatan::PersonProvider$suffix()
charlatan::PersonProvider$suffix_female()
charlatan::PersonProvider$suffix_male()
Examples
x <- PersonProvider_en_US$new()
x$locale
#> [1] "en_US"
x$render()
#> [1] "Abdul Waters"
x$first_name()
#> [1] "Katarina"
x$first_name_female()
#> [1] "Letitia"
x$first_name_male()
#> [1] "Yehuda"
x$last_name()
#> [1] "Watsica"
x$last_name_female()
#> [1] "Sporer"
x$last_name_male()
#> [1] "Schneider"