Object to create addresses for a locale. Makes use of PersonProvider for creating street names.
Returns an AddressProvider object.
charlatan::BareProvider
-> charlatan::BaseProvider
-> AddressProvider
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 AddressProvider
object
AddressProvider$new()
A new AddressProvider
object
address()
Create an address, a combination of street, postal code and city.
AddressProvider$address()
city()
Create a city
AddressProvider$city()
street_name()
Create a street name.
AddressProvider$street_name()
street_address()
Create a street address, a combination of streetname and house indicator.
AddressProvider$street_address()
postcode()
Create a postal code
AddressProvider$postcode()
init_person_provider()
initialize the person provider (for use in addresses based on names)
AddressProvider$init_person_provider(locale)
locale
locale
clone()
The objects of this class are cloneable with this method.
AddressProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
When there is no PersonProvider for this locale, we default back to en_US.
Other ParentProviders:
ColorProvider
,
CompanyProvider
,
InternetProvider
,
JobProvider
,
LoremProvider
,
PersonProvider
,
PhoneNumberProvider
,
TaxonomyProvider
,
UserAgentProvider