Object to create addresses for a locale. Makes use of PersonProvider for creating street names.
Returns an AddressProvider object.
charlatan::BareProvider
-> charlatan::BaseProvider
-> charlatan::AddressProvider
-> AddressProvider_nl_NL
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()
address()
Create an address, a combination of street, postal code and city. The three components street, postal code and city are generated independently, so they are not related.
AddressProvider_nl_NL$address()
city()
Create a city
AddressProvider_nl_NL$city()
street_name()
Create a street name
AddressProvider_nl_NL$street_name()
street_address()
Create a street address, a combination of streetname and house indicator.
AddressProvider_nl_NL$street_address()
postcode()
Create a postal code, does not exclude impossible postcodes in The Netherlands (leading zero for examples) but looks good enough for most purposes.
AddressProvider_nl_NL$postcode()
building_number()
building number.
AddressProvider_nl_NL$building_number()
province()
Create a province.
AddressProvider_nl_NL$province()
clone()
The objects of this class are cloneable with this method.
AddressProvider_nl_NL$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 nl:
ElementProvider_nl_NL
,
JobProvider_nl_NL
,
PersonProvider_nl_NL
,
PhoneNumberProvider_nl_BE
,
PhoneNumberProvider_nl_NL
,
SSNProvider_nl_NL
,
dutch-language
Other NL:
ElementProvider_nl_NL
,
JobProvider_nl_NL
,
PersonProvider_nl_NL
,
PhoneNumberProvider_nl_NL
,
SSNProvider_nl_NL
(z <- AddressProvider_nl_NL$new())
z$locale
z$postcode()
z$street_name()
z$address()
z$city()
z$province()
Run the code above in your browser using DataLab