Skip to contents

Person Provider for Japanese (Japan)

Person Provider for Japanese (Japan)

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_ja_JP

Methods

Inherited methods


Method kana_name()

create a kana name.

Usage

PersonProvider_ja_JP$kana_name()


Method first_kana_name()

Generate first name (kana)

Usage

PersonProvider_ja_JP$first_kana_name()


Method last_kana_name()

Generate last name (kana)

Usage

PersonProvider_ja_JP$last_kana_name()


Method first_kana_name_male()

Generate first name male (kana)

Usage

PersonProvider_ja_JP$first_kana_name_male()


Method first_kana_name_female()

Generate first name female (kana)

Usage

PersonProvider_ja_JP$first_kana_name_female()


Method clone()

The objects of this class are cloneable with this method.

Usage

PersonProvider_ja_JP$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

x <- PersonProvider_ja_JP$new()
x$locale
#> [1] "ja_JP"
x$render()
#> [1] " "
x$first_name()
#> [1] "Tomomi"
x$first_kana_name()
#> [1] "ジュン"
x$first_name_female()
#> [1] "Takuma"
x$first_name_male()
#> [1] "Ryohei"
x$last_name()
#> [1] "Yamamoto"
x$last_name_female()
#> [1] "Ogaki"
x$last_name_male()
#> [1] "Aota"