Skip to contents

Person Provider for Croatian (Croatia)

Person Provider for Croatian (Croatia)

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_hr_HR

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

PersonProvider_hr_HR$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

x <- PersonProvider_hr_HR$new()
x$locale
#> [1] "hr_HR"
x$render()
#> [1] "Mateja Jakopec"
x$first_name()
#> [1] "Branka"
x$first_name_female()
#> [1] "Nenad"
x$first_name_male()
#> [1] "Elizabeta"
x$last_name()
#> [1] "Crnković"
x$last_name_female()
#> [1] "Filar"
x$last_name_male()
#> [1] "Keleković"