Skip to contents

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.