convert_prefecture: Convert prefecture names to roman or kanji

View source: R/convert_prefecture.R

convert_prefectureR Documentation

Convert prefecture names to roman or kanji

Description

Convert prefecture names to roman or kanji

Usage

convert_prefecture(x, to)

Arguments

x

prefecture name in kanji

to

conversion destination

Examples

convert_prefecture(c("tokyo-to", "osaka", "ALL"), to="kanji")
convert_prefecture(
  c("\u6771\u4eac", "\u5927\u962a\u5e9c",
  "\u5317\u6d77\u9053", "\u5168\u56fd"),
  to = "roman")

uribo/zipangu documentation built on Feb. 27, 2023, 11:37 p.m.