Convert prefecture names from kana

convert_prefecture_from_kana(x)

Arguments

x

prefecture name in kana

Examples

convert_prefecture_from_kana(c("\u3068\u3046\u304d\u3087\u3046\u3068"))
#> [1] "東京都"
convert_prefecture_from_kana(c("\u30c8\u30a6\u30ad\u30e7\u30a6\u30c8", "\u30ad\u30e7\u30a6\u30c8"))
#> [1] "東京都" "京都"  
convert_prefecture_from_kana(c("\u30c8\u30a6\u30ad\u30e7\u30a6", "\u304a\u304a\u3055\u304b"))
#> [1] "東京" "大阪"