Skip to content

Instantly share code, notes, and snippets.

@yuu-ito
Last active February 1, 2016 05:28
Show Gist options
  • Save yuu-ito/7f927469e5e4c3ca73fd to your computer and use it in GitHub Desktop.
Save yuu-ito/7f927469e5e4c3ca73fd to your computer and use it in GitHub Desktop.
d<-read.csv("../../Desktop/pref_code.csv") http://ja.wikipedia.org/wiki/全国地方公共団体コード
PREF_CODE NAME REGION
01 北海道 北海道
02 青森県 東北
03 岩手県 東北
04 宮城県 東北
05 秋田県 東北
06 山形県 東北
07 福島県 東北
08 茨城県 関東
09 栃木県 関東
10 群馬県 関東
11 埼玉県 関東
12 千葉県 関東
13 東京都 関東
14 神奈川県 関東
15 新潟県 中部
16 富山県 中部
17 石川県 中部
18 福井県 中部
19 山梨県 中部
20 長野県 中部
21 岐阜県 中部
22 静岡県 中部
23 愛知県 中部
24 三重県 中部
25 滋賀県 近畿
26 京都府 近畿
27 大阪府 近畿
28 兵庫県 近畿
29 奈良県 近畿
30 和歌山県 近畿
31 鳥取県 四国
32 島根県 四国
33 岡山県 四国
34 広島県 四国
35 山口県 四国
36 徳島県 四国
37 香川県 四国
38 愛媛県 四国
39 高知県 四国
40 福岡県 九州
41 佐賀県 九州
42 長崎県 九州
43 熊本県 九州
44 大分県 九州
45 宮崎県 九州
46 鹿児島県 九州
47 沖縄県 九州
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment