Skip to contents

Person Provider for Spanish (Spain)

Person Provider for Spanish (Spain)

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_es_ES

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

PersonProvider_es_ES$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

x <- PersonProvider_es_ES$new()
x$locale
#> [1] "es_ES"
x$render()
#> [1] "David Azcona Llorens"
x$first_name()
#> [1] "Mercedes"
x$first_name_female()
#> [1] "Susana"
x$first_name_male()
#> [1] "Adrián"
x$last_name()
#> [1] "Anglada"
x$last_name_female()
#> [1] "Gibert"
x$last_name_male()
#> [1] "Gárate"