Learn R Programming

jpndistrict (version 0.3.9)

code_validate: Administration code validation

Description

Administration code validation

Usage

code_validate(jis_code)

Arguments

jis_code

jis code for prefecture and city identifical number. If prefecture, must be from 1 to 47. If city, range of 5 digits.

Examples

Run this code
# NOT RUN {
code_validate(jis_code = "05")
code_validate(jis_code = 33101)
code_validate(jis_code = c("01", "33101"))
# }

Run the code above in your browser using DataLab