prefectures provides the name of prefectures in Japan as well as
the regional name to be grouped.
Usage
data(prefectures)
Format
A data frame with 47 observations on the following 3 variables.
jiscode
a character vector
name
a character vector
region
a character vector
Details
The prefectures of Japan are the country's 47 subnational
jurisdictions. prefectures provides the names in JIS code (JIS X
0401) order as UTF-8 encoded Japanese Kanji.The regions of Japan are
assigned to corresponding prefecture, even though such regional division
of Japan are not official
administrative units.
Note
If you need the prefectural name in ASCII, kakasi can help to
convert Kanji to Romaji (ASCII). See the example showed below.
Examples
data(prefectures)
head(prefectures)
## Not run:
## Obtain the name as Romaji (ASCII)
kakasi(head(prefecture$name))
## End(Not run)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Nippon)
Loading required package: maptools
Loading required package: sp
Checking rgeos availability: TRUE
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Nippon/prefectures.Rd_%03d_medium.png", width=480, height=480)
> ### Name: prefectures
> ### Title: Prefectural names in Japan
> ### Aliases: prefectures
> ### Keywords: datasets Japan
>
> ### ** Examples
>
> data(prefectures)
> head(prefectures)
jiscode name region
1 01 <U+5317><U+6D77><U+9053> <U+5317><U+6D77><U+9053>
2 02 <U+9752><U+68EE><U+770C> <U+6771><U+5317>
3 03 <U+5CA9><U+624B><U+770C> <U+6771><U+5317>
4 04 <U+5BAE><U+57CE><U+770C> <U+6771><U+5317>
5 05 <U+79CB><U+7530><U+770C> <U+6771><U+5317>
6 06 <U+5C71><U+5F62><U+770C> <U+6771><U+5317>
> ## Not run:
> ##D ## Obtain the name as Romaji (ASCII)
> ##D kakasi(head(prefecture$name))
> ## End(Not run)
>
>
>
>
>
> dev.off()
null device
1
>