Skip to contents

Person Provider for German (Germany)

Person Provider for German (Germany)

Value

A PersonProvider object that can create names.

Details

Note for female and male components that we fall back on generic versions if the locale doesn't provide a male/female version. e.g., if no female first name we use first name

Super classes

charlatan::BareProvider -> charlatan::BaseProvider -> charlatan::PersonProvider -> PersonProvider_de_DE

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

PersonProvider_de_DE$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

x <- PersonProvider_de_DE$new()
x$locale
#> [1] "de_DE"
x$render()
#> [1] "Prof. Bettina Riehl B.Eng."
x$first_name()
#> [1] "Inge"
x$first_name_female()
#> [1] "Diana"
x$first_name_male()
#> [1] "Hubertus"
x$last_name()
#> [1] "Heß"
x$last_name_female()
#> [1] "Geisler"
x$last_name_male()
#> [1] "Römer"