internet methods, e.g., email addresses, domain names
Note that if a locale you set doesn't have a locale specific set
of data for PersonProvider or CompanyProvider we fall back to
en_US
Also note that you
A InternetProvider object with specific functions for internet.
charlatan::BareProvider
-> charlatan::BaseProvider
-> InternetProvider
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 Provider object
InternetProvider$new()
A new object
to_ascii()
convert to ascii
InternetProvider$to_ascii(x)
x
the stringn to convert to ascii
email()
get an email address
InternetProvider$email(domain = NULL)
domain
(character) a domain name, if not given, a random name is chosen
safe_email()
get a safe email address
InternetProvider$safe_email()
free_email()
a free email address
InternetProvider$free_email()
company_email()
company email address
InternetProvider$company_email()
ascii_email()
ascii email address
InternetProvider$ascii_email()
ascii_safe_email()
safe ascii email address
InternetProvider$ascii_safe_email()
ascii_free_email()
an ascii free email address
InternetProvider$ascii_free_email()
ascii_company_email()
ascii company email address
InternetProvider$ascii_company_email()
user_name()
a user name
InternetProvider$user_name()
tld()
a tld
InternetProvider$tld()
free_email_domain()
free email domain name
InternetProvider$free_email_domain()
schemes
(character vector) a url scheme, defaults are http and https
domain_name()
Produce an Internet domain name with the specified number of subdomain levels
InternetProvider$domain_name(levels = 1)
levels
(integer) how many levels, must be >1
domain_word()
a domain word
InternetProvider$domain_word()
ipv4()
an ipv4 address or network
InternetProvider$ipv4(network = FALSE)
network
(logical) produce a network
ipv6()
an ipv6 address or network
InternetProvider$ipv6(network = FALSE)
network
(logical) produce a network
mac_address()
a mac address
InternetProvider$mac_address()
uri_page()
a uri page
InternetProvider$uri_page()
uri_path()
a uri path
InternetProvider$uri_path(deep = NULL)
deep
how deep to go, an integer, if not given an integer between 1 and 4 (inclusive) is chosen
uri_extension()
a uri extension
InternetProvider$uri_extension()
uri()
a uri
InternetProvider$uri()
slug()
a slug
InternetProvider$slug(value = NULL)
value
(character) a string, if given, returns itself, if not, uses
LoremProvider to get a random string. default: NULL
image_url()
Returns URL to placeholder image - Example: http://placehold.it/640x480
InternetProvider$image_url(width = NULL, height = NULL)
width
image width, in pixels
height
image height, in pixels
clone()
The objects of this class are cloneable with this method.
InternetProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other ParentProviders:
AddressProvider
,
ColorProvider
,
CompanyProvider
,
JobProvider
,
LoremProvider
,
PersonProvider
,
PhoneNumberProvider
,
TaxonomyProvider
,
UserAgentProvider