Parse prefecture codes or names
parse_pref(x, strict = TRUE)
x
A character vector of prefecture codes or names.
character
strict
A scalar logical. Whether to require the code to have 1 or 2 digits. By default, TRUE.
TRUE
A jpcity_pref object.
jpcity_pref