Learn R Programming

charlatan (version 0.6.1)

PersonProvider_ja_JP: Person Provider for Japanese (Japan)

Description

Person Provider for Japanese (Japan)

Person Provider for Japanese (Japan)

Arguments

Value

A PersonProvider object that can create names.

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.

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

See Also

Other ja: LoremProvider_ja_JP, PhoneNumberProvider_ja_JP, japanese-language

Other JP: LoremProvider_ja_JP, PhoneNumberProvider_ja_JP

Examples

Run this code
x <- PersonProvider_ja_JP$new()
x$locale
x$render()
x$first_name()
x$first_kana_name()
x$first_name_female()
x$first_name_male()
x$last_name()
x$last_name_female()
x$last_name_male()

Run the code above in your browser using DataLab