AddressProvider for United States of America
Source:R/address-provider-en_US.R
AddressProvider_en_US.Rd
Object to create addresses for a locale. Makes use of PersonProvider for creating street names.
See also
Other en:
AddressProvider_en_GB
,
AddressProvider_en_NZ
,
ColorProvider_en_US
,
CompanyProvider_en_US
,
ElementProvider_en_US
,
FileProvider_en_US
,
InternetProvider_en_AU
,
InternetProvider_en_US
,
JobProvider_en_US
,
LoremProvider_en_US
,
PersonProvider_en_GB
,
PersonProvider_en_NZ
,
PersonProvider_en_US
,
PhoneNumberProvider_en_AU
,
PhoneNumberProvider_en_CA
,
PhoneNumberProvider_en_GB
,
PhoneNumberProvider_en_NZ
,
PhoneNumberProvider_en_US
,
PhoneNumberProvider_es_MX
,
SSNProvider_en_US
,
TaxonomyProvider_en_US
,
UserAgentProvider_en_US
,
english-language
Other US:
ColorProvider_en_US
,
CompanyProvider_en_US
,
ElementProvider_en_US
,
FileProvider_en_US
,
InternetProvider_en_US
,
JobProvider_en_US
,
LoremProvider_en_US
,
PersonProvider_en_US
,
PhoneNumberProvider_en_US
,
SSNProvider_en_US
,
TaxonomyProvider_en_US
,
UserAgentProvider_en_US
Super classes
charlatan::BareProvider
-> charlatan::BaseProvider
-> charlatan::AddressProvider
-> AddressProvider_en_US
Methods
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()
charlatan::AddressProvider$init_person_provider()
charlatan::AddressProvider$initialize()
Method civ_address()
civilian address, the type of address you would expect. Not to be confused with Military address which is also available for this locale.
Examples
(z <- AddressProvider_en_US$new())
#> < AddressProvider >
#> locale: en_US
z$locale
#> [1] "en_US"
z$postcode()
#> [1] "28584"
z$street_name()
#> [1] "Vincenzo Shoal"
z$address()
#> [1] "8122 Kassulke Causeway Suite 643\nNorth Lolitaburgh, MI 69750-3154"
z$city()
#> [1] "West Zoe"
z$mil_address()
#> [1] "PSC 1842, Box 1493\nAPO AA 89828"
z$civ_address()
#> [1] "06483 Durrell Forest\nSporerton, CO 90491-8806"