Skip to contents

Person Provider for French (France)

Person Provider for French (France)

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_fr_FR

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

PersonProvider_fr_FR$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

x <- PersonProvider_fr_FR$new()
x$locale
#> [1] "fr_FR"
x$render()
#> [1] "Raymond Goff d'Denis"
x$first_name()
#> [1] "Pauline"
x$first_name_female()
#> [1] "Noémi"
x$first_name_male()
#> [1] "Alphonse"
x$last_name()
#> [1] "Leger"
x$last_name_female()
#> [1] "Lombard"
x$last_name_male()
#> [1] "Martins"