PersonProvider
PersonProvider
A PersonProvider object that can create names.
charlatan::BareProvider
-> charlatan::BaseProvider
-> PersonProvider
messy
show current setting for messy. Either TRUE or FALSE depending on configuration and if this is even possible for the locale.
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()
new()
Create a new PersonProvider
object
PersonProvider$new(messy = FALSE)
messy
make it messy
messy_is_possible()
internal function to figure out if messy is a valid option for this locale.
PersonProvider$messy_is_possible()
change_messy()
Change messy (if possible)
PersonProvider$change_messy(messy)
messy
TRUE or FALSE
render()
Make a person's name
PersonProvider$render(fmt = NULL)
fmt
(character) a name format, default: NULL
messy_switch()
messy switch (internal). Always return a text, when messy is allowed return a messy version, but otherwise return a clean version.
PersonProvider$messy_switch(clean_choice, messy_choice)
clean_choice
the clean version
messy_choice
the messy version
first_name()
make a first name
PersonProvider$first_name()
first_name_female()
make a female first name
PersonProvider$first_name_female()
first_name_male()
make a male first name
PersonProvider$first_name_male()
last_name()
make a last name
PersonProvider$last_name()
last_name_female()
make a female last name
PersonProvider$last_name_female()
last_name_male()
make a male last name
PersonProvider$last_name_male()
prefix()
make a name prefix
PersonProvider$prefix()
prefix_female()
make a female name prefix
PersonProvider$prefix_female()
prefix_male()
make a male name prefix
PersonProvider$prefix_male()
suffix()
make a name suffix
PersonProvider$suffix()
suffix_female()
make a female name suffix
PersonProvider$suffix_female()
suffix_male()
make a male name suffix
PersonProvider$suffix_male()
clone()
The objects of this class are cloneable with this method.
PersonProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
Methods for Persons, methods for generating names.
Other ParentProviders:
AddressProvider
,
ColorProvider
,
CompanyProvider
,
InternetProvider
,
JobProvider
,
LoremProvider
,
PhoneNumberProvider
,
TaxonomyProvider
,
UserAgentProvider