powered by
miscellaneous methods
charlatan::BareProvider -> MiscProvider
charlatan::BareProvider
MiscProvider
language_locale_codes
(list) locale codes by locale family
MiscProvider$boolean()
MiscProvider$null_boolean()
MiscProvider$locale()
MiscProvider$language_code()
MiscProvider$clone()
Inherited methods charlatan::BareProvider$bothify() charlatan::BareProvider$lexify() charlatan::BareProvider$numerify() charlatan::BareProvider$print() 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::BareProvider$bothify()
charlatan::BareProvider$lexify()
charlatan::BareProvider$numerify()
charlatan::BareProvider$print()
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()
boolean()
get a random boolean, TRUE or FALSE
TRUE
FALSE
MiscProvider$boolean(chance_of_getting_true = 50)
chance_of_getting_true
(integer) an integer, default: 50
null_boolean()
get a random boolean, TRUE or FALSE, or NULL
locale()
get a random locale
language_code()
random language code
clone()
The objects of this class are cloneable with this method.
MiscProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
(x <- MiscProvider$new()) x$language_locale_codes x$language_code() x$locale() x$boolean() x$null_boolean()
Run the code above in your browser using DataLab