CompanyProvider | R Documentation |
company name/etc. methods
charlatan::BaseProvider
-> CompanyProvider
locale
(character) xxx
formats
(character) xxx
prefixes
(character) xxx
suffixes
(character) xxx
catch_phrase_words
(character) xxx
bsWords
(character) xxx
siren_format
(character) xxx
charlatan::BaseProvider$bothify()
charlatan::BaseProvider$check_locale()
charlatan::BaseProvider$lexify()
charlatan::BaseProvider$numerify()
charlatan::BaseProvider$random_digit()
charlatan::BaseProvider$random_digit_not_zero()
charlatan::BaseProvider$random_digit_not_zero_or_empty()
charlatan::BaseProvider$random_digit_or_empty()
charlatan::BaseProvider$random_element()
charlatan::BaseProvider$random_element_prob()
charlatan::BaseProvider$random_int()
charlatan::BaseProvider$random_letter()
charlatan::BaseProvider$randomize_nb_elements()
allowed_locales()
fetch the allowed locales for this provider
CompanyProvider$allowed_locales()
new()
Create a new CompanyProvider
object
CompanyProvider$new(locale = NULL)
locale
(character) the locale to use. See
$allowed_locales()
for locales supported (default: en_US)
A new CompanyProvider
object
company()
a company name
CompanyProvider$company()
company_prefix()
a company prefix
CompanyProvider$company_prefix()
company_suffix()
a company suffix
CompanyProvider$company_suffix()
catch_phrase()
a catch phrase
CompanyProvider$catch_phrase()
bs()
BS words
CompanyProvider$bs()
siren()
a siren
CompanyProvider$siren()
clone()
The objects of this class are cloneable with this method.
CompanyProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
x <- CompanyProvider$new()
x$locale
x$company()
x$company_suffix()
x$catch_phrase()
x$bs()
x <- CompanyProvider$new(locale = "fr_FR")
x$locale
x$company()
x$company_suffix()
x$siren()
x <- CompanyProvider$new(locale = "hr_HR")
x$locale
x$company()
x$company_suffix()
x <- CompanyProvider$new(locale = "it_IT")
x$locale
x$company()
x$company_suffix()
x$bs()
CompanyProvider$new(locale = "es_MX")$bs()
CompanyProvider$new(locale = "es_MX")$company_prefix()
CompanyProvider$new(locale = "es_MX")$catch_phrase()
CompanyProvider$new(locale = "bg_BG")$company()
CompanyProvider$new(locale = "cs_CZ")$company()
CompanyProvider$new(locale = "de_DE")$company()
CompanyProvider$new(locale = "fa_IR")$company()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.