| BaseProvider | R Documentation |
BaseProvider
BaseProvider
charlatan::BareProvider -> BaseProvider
locale(character) locale of this Provider.
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()check_locale()check a locale to see if it exists, if not, stop with error message
BaseProvider$check_locale(x)
xa locale name, e.g, 'bg_BG'
returns nothing if locale is supported; stops w/ message if not
allowed_locales()fetch the allowed locales for this provider
BaseProvider$allowed_locales()
new()Create a new Provider object
BaseProvider$new()
A new object
print()Print method for provider
BaseProvider$print(...)
...ignored by this method
clone()The objects of this class are cloneable with this method.
BaseProvider$clone(deep = FALSE)
deepWhether to make a deep clone.
You cannot instantiate the Parent providers. You must use one of the localized one.
(x <- BaseProvider$new())
x$numerify("#%%asdf221?")
x$lexify("#%%asdf221?")
x$bothify("#%%asdf221?")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.