[Maturing]

convert_jyear(jyear)

Arguments

jyear

Japanese imperial year (jyear). Kanji or Roman character

Examples

convert_jyear("R1")

## [1] 2019

convert_jyear("Heisei2")

## [1] 1990

convert_jyear("\u5e73\u6210\u5143\u5e74")

## [1] 1989

convert_jyear(c("\u662d\u548c10\u5e74", "\u5e73\u621014\u5e74"))

## [1] 1935 2002

convert_jyear(kansuji2arabic_all("\u5e73\u6210\u4e09\u5e74"))

## [1] 1991