parse_pref {jpcity}R Documentation

Parse prefecture codes or names

Description

Parse prefecture codes or names

Usage

parse_pref(x, strict = TRUE)

Arguments

x

A character vector of prefecture codes or names.

strict

A scalar logical. Whether to require the code to have 1 or 2 digits. By default, TRUE.

Value

A jpcity_pref object.


[Package jpcity version 0.2.1 Index]