Dataset Viewer
Auto-converted to Parquet Duplicate
year
int16
2.01k
2.03k
code
stringlengths
6
6
name
stringlengths
2
15
level
stringclasses
3 values
parent_code
stringclasses
369 values
source_url
stringclasses
14 values
archive_url
stringclasses
3 values
fetched
stringdate
2026-11-18 00:00:00
2026-11-18 00:00:00
verification
stringclasses
3 values
2,012
110000
北京市
province
null
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110101
东城区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110102
西城区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110105
朝阳区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110106
丰台区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110107
石景山区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110108
海淀区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110109
门头沟区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110111
房山区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110112
通州区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110113
顺义区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110114
昌平区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110115
大兴区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110116
怀柔区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110117
平谷区
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110228
密云县
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
110229
延庆县
county
110000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120000
天津市
province
null
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120101
和平区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120102
河东区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120103
河西区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120104
南开区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120105
河北区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120106
红桥区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120110
东丽区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120111
西青区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120112
津南区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120113
北辰区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120114
武清区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120115
宝坻区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120116
滨海新区
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120221
宁河县
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120223
静海县
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
120225
蓟县
county
120000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130000
河北省
province
null
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130100
石家庄市
prefecture
130000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130102
长安区
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130103
桥东区
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130104
桥西区
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130105
新华区
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130107
井陉矿区
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130108
裕华区
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130121
井陉县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130123
正定县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130124
栾城县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130125
行唐县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130126
灵寿县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130127
高邑县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130128
深泽县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130129
赞皇县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130130
无极县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130131
平山县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130132
元氏县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130133
赵县
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130181
辛集市
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130182
藁城市
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130183
晋州市
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130184
新乐市
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130185
鹿泉市
county
130100
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130200
唐山市
prefecture
130000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130202
路南区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130203
路北区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130204
古冶区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130205
开平区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130207
丰南区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130208
丰润区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130209
曹妃甸区
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130223
滦县
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130224
滦南县
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130225
乐亭县
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130227
迁西县
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130229
玉田县
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130281
遵化市
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130283
迁安市
county
130200
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130300
秦皇岛市
prefecture
130000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130302
海港区
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130303
山海关区
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130304
北戴河区
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130321
青龙满族自治县
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130322
昌黎县
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130323
抚宁县
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130324
卢龙县
county
130300
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130400
邯郸市
prefecture
130000
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130402
邯山区
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130403
丛台区
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130404
复兴区
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130406
峰峰矿区
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130421
邯郸县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130423
临漳县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130424
成安县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130425
大名县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130426
涉县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130427
磁县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130428
肥乡县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130429
永年县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130430
邱县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130431
鸡泽县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130432
广平县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130433
馆陶县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
2,012
130434
魏县
county
130400
http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
http://web.archive.org/web/20141001020151id_/http://files2.mca.gov.cn/cws/201308/20130821143408921.htm
2026-11-18
官方原页。原链接已失效,用互联网档案馆存档副本(archive_url)
End of preview. Expand in Data Studio

China Administrative Division Codes and Changes, County Level and Above (2012–2025)

中国县级以上行政区划代码和变更(2012—2025)

Year-end codes and names of every county-level-and-above administrative division in China for 2012–2025, and every change between consecutive years. Every row links to its official source.

2012 至 2025 年每年年底的县级以上行政区划代码和名称,以及相邻两年之间的每一次变更。每一行都带官方出处链接。

Published by World Insight Lab. / 由 World Insight Lab 发布。

English · 中文


English

Summary

Config File Content Rows
years (default) data/years.csv Codes and names of all units at the end of each year, 2012–2025 45,009
changes data/changes.csv Changes between consecutive year-end tables, 2013–2025 402
corrections data/corrections_applied.csv Every correction made before release 521
  • Levels: province, prefecture, county. No townships, sub-districts or villages.
  • About 3,200 rows per year. End of 2025: 34 province-level, 333 prefecture-level and 2,845 county-level units.
  • Each config has a single train split. The split name is a convention of the datasets library; there is no train/test meaning.
  • A Python library, geoalign, ships in this repository. It maps written place names to codes and converts codes between years. See Use with geoalign.

Rows in years.csv per year:

2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025
3,219 3,220 3,222 3,219 3,220 3,219 3,218 3,213 3,209 3,208 3,208 3,209 3,213 3,212

Rows in changes.csv per year (the year of the table after the change):

2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025
35 70 67 74 27 36 38 22 22 0 3 4 4

2022 has no rows: the 2021 and 2022 year-end tables have the same codes, names and parents.

Columns

All code columns (code, parent_code, old_code, new_code) are 6-digit strings. Keep them as strings when you read the CSV files yourself. Empty cells load as null / None.

years.csv

Column Meaning
year Year. The row describes the state at the end of this year
code 6-digit administrative-division code
name Standard name
level province, prefecture or county, determined from the form of the code
parent_code Parent code. A county's parent is its prefecture, or the province if there is no prefecture. Districts and counties of municipalities, and counties directly under a province, have the province as parent. Empty for provinces
source_url Official source link
archive_url Internet Archive copy, when the original link no longer works
fetched Date the source was retrieved
verification Note on the source

changes.csv

Column Meaning
year Year of the table after the change
change_type Type of change (see below)
relation Shape of the whole change: 一对一 (one-to-one), 多对一 (many-to-one), 一对多 (one-to-many), 多对多 (many-to-many). Empty for 新设 (newly established) rows
partial 是 (yes): only part of the old unit went to the new unit
main 是 (yes): the new unit is the main successor of the old unit (whole conversion, merger, renaming). 否 (no): only part of the old unit went to the new unit, or the notice does not say which side is the main successor
old_code, old_name Old code and name
new_code, new_name New code and name
code_changed Whether the old and new codes differ (是 / 否)
basis Basis: 官方变更情况 (the official annual change notice) or 相邻两年代码表比对 (comparison of two consecutive code tables)
notice_year When the basis is the official notice: the year of the 《县级以上行政区划变更情况》 notice
evidence Sentence quoted from the notice (up to 200 characters), verbatim
note Our explanation (e.g. the code table reflects the change later than the notice). Empty in most rows
source_url Notice link
table_source_url Link to the code table of the year after the change
fetched Date the source was retrieved

Change types (change_type):

Value Meaning
改名 Renamed: same unit, new name
撤县设区 County, banner or county-level city converted to a city district
撤县设市 County or banner converted to a county-level city
撤区设县 City district converted to a county
撤地设市 Prefecture (地区) or league (盟) converted to a prefecture-level city
合并 Merger: several units combined into one, or one unit abolished and wholly absorbed by another
拆分 Split: one unit divided among several units, or part of it transferred to another unit
代码变化 Same name, new code. Usually because the parent changed (e.g. after 那曲地区 became 那曲市, 尼玛县 changed from 542430 to 540629)
新设 Newly established. The notice states the establishment and names no county-level-or-above predecessor. Mostly formed from townships

changes.csv contains 402 rows: 121 撤县设区, 70 拆分, 69 代码变化, 54 合并, 52 撤县设市, 17 新设, 9 改名, 8 撤地设市, 2 撤区设县. 401 rows have the official notice as basis, 1 row has the table comparison as basis.

corrections_applied.csv

Column Meaning
row Which change row (year, old unit → new unit)
action 改字段 (field changed, 496), 补行 (row added, 20), 删行 (row deleted, 5)
field Field that was changed
old_value, new_value Value before and after
reason Reason
evidence Sentence quoted from the notice

How to read the change table

  • One merger or split is written as several rows, one row per pair of old unit and new unit.
  • Rows in the same year that share a code belong to the same change, whether the code appears as an old code or a new code. All rows of one change have the same relation.
  • relation is decided as follows:
    1. Old side: the old codes in the rows. A unit that keeps its code and wholly absorbs another unit has no row of its own but still counts on the old side (e.g. 白下区 merged into 秦淮区 is one row, “白下区 → 秦淮区”, counted as 多对一).
    2. New side: the new codes in the rows. A unit that only gives away part of its area and keeps its code does not count on the new side unless it also receives another unit in this change (e.g. part of 龙岗区 became 坪山区: 一对一).
    3. A unit that both gives away part of its area and receives part of another unit counts on both sides (e.g. in 2025, 北碚区 gave part of its area to 两江新区 and received 5 towns from 渝北区; this group is 多对多).
    4. One old and one new: 一对一. One new: 多对一. One old: 一对多. Otherwise 多对多.
  • Which changes are included: only changes in which at least one county-level-or-above code appears, disappears or changes. For such a change, every pair of old and new units has a row, including partial transfers. Boundary adjustments in which no code changes are not included (e.g. parts of several counties transferred to 图木舒克市).
  • To follow a unit forward through a split, use the row with main = 是. If no row has main = 是, the notice names no main successor, and there is no single destination.

Example: the 2014 notice abolished 石家庄市桥东区 (130103) and divided its area between 长安区 (130102) and 桥西区 (130104). The change table has two 拆分 rows with year 2015 (the code table) and notice_year 2014. Both rows have main = 否, so there is no single successor.

Sources

Years Source
2012, 2013, 2014 Original pages on the Ministry of Civil Affairs (MCA, 民政部) website. The original links no longer work; archive_url points to the Internet Archive copy
2015–2024 Original pages on the MCA website
2025 Administrative-division data of the MCA National Geographic Names Information Database (国家地名信息库). Two units established in 2026 were removed; see Known limitations
Changes MCA annual notices 《县级以上行政区划变更情况》 (http://xzqh.mca.gov.cn/description?dcpid=<year>; the pages are GBK-encoded)

Every row carries its source link and retrieval date.

Official pages are recorded as published, including their typos. Example: the 2015 notice abolished 马尔康县 and established 马尔康市, but the official 2015 code table wrote 513201 as “马尔康区”; the 2016 table corrected it to “马尔康市”. years.csv records “马尔康区” for 2015, and changes.csv has a 2016 改名 row for the correction.

How the data was checked

  1. Every change row for 2013–2025 was read against that year's official notice. Each correction is listed in corrections_applied.csv with the row, field, old value, new value, reason and quoted sentence: 79 rows originally derived from table comparison were found in the notices and re-based on them; main, change_type, partial and relation were corrected where the notice says otherwise; 20 partial transfers named in the notices were added; 5 rows were deleted (duplicates, or events recorded in a later year than they belong to); 12 rows that had said “source unknown” or “destination unknown” were resolved. No row now has an unknown source or destination.
  2. A program checked that every evidence sentence occurs verbatim in the full notice text. Our own explanations are only in note.
  3. Before release the data was reviewed twice independently. The second review compared all 45,009 rows with the 14 official tables retrieved again online and found them identical (for 2025, identical apart from the 2 removed rows); read 67 change rows against the notices and found no discrepancy with the notices in old unit, new unit, type or partial; and checked by program that every difference between consecutive tables, 2013–2025, is explained by a change row.

Usage

With datasets

from datasets import load_dataset

years = load_dataset("WorldInsightLab/china-admin-divisions", "years", split="train")
changes = load_dataset("WorldInsightLab/china-admin-divisions", "changes", split="train")

print(years.num_rows, changes.num_rows)   # 45009 402
print(years[1])
# {'year': 2012, 'code': '110101', 'name': '东城区', 'level': 'county', 'parent_code': '110000', ...}

With pandas (read codes as strings):

import pandas as pd

base = "hf://datasets/WorldInsightLab/china-admin-divisions/data/"
years = pd.read_csv(base + "years.csv", dtype=str, keep_default_na=False)
changes = pd.read_csv(base + "changes.csv", dtype=str, keep_default_na=False)

y2025 = years[years.year == "2025"]
print(y2025.level.value_counts().to_dict())
# {'county': 2845, 'prefecture': 333, 'province': 34}

print(changes[changes.old_code == "130103"][["year", "change_type", "main", "new_code", "new_name"]])
#      year change_type main new_code new_name
# 109  2015          拆分    否   130102      长安区
# 110  2015          拆分    否   130104      桥西区

hf:// paths need huggingface_hub installed. You can also download the CSV files and read them locally.

Use with geoalign

geoalign/ in this repository is a small Python library (Apache-2.0, standard library only, Python 3.8+) built on this data. It maps written names to codes, converts codes between years and shows the history of a code. When it is not sure, it gives no code and lists the candidates.

Install from PyPI:

pip install geoalign

Or install the wheel from this repository:

pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.1-py3-none-any.whl
from geoalign import Gazetteer
g = Gazetteer()

g.align("密云县").code                  # '110118' (密云区, the latest code)
g.align("密云县", year=2013).code       # '110228'
g.align("朝阳区", parent="长春市").code  # '220104'
g.align("朝阳区").code                  # None: two units share this name; see .candidates
g.to_year("130103", 2016).codes         # ['130102', '130104'] (split, exact=False)

Full documentation, the public benchmark and its results: geoalign/README.md. Source code and issues: github.com/World-Insight-Lab/geoalign. The library covers county level and above only; do not pass township names.

Known limitations

  1. County level and above only. No townships, sub-districts or villages. Do not use the data or the library to code township names.
  2. No years before 2012.
  3. The 2025 table is the year-end state, based on the 2026 notice. The National Geographic Names Information Database returns the version current on the day of retrieval. It included 岑岭县 (653132, announced 2026-03-26) and 草湖市 (659013, announced 2026-04-17). At retrieval time the 2026 notice 《2026 年县级以上行政区划变更情况》 had only these 2 entries. We removed these 2 rows to get the state at the end of 2025, so every year uses the same year-end convention. If the database contains a 2026 change that the notice does not yet list (e.g. a renaming only), we cannot detect it.
  4. Code tables can lag behind notices. Some changes appear in the notice for one year but in the code table one or more years later. Example: 三沙市西沙区 and 南沙区 were established in 2020 and first appear in the 2024 table; 保定市南市区 was merged into 莲池区 in 2015, and 130604 was removed from the table only in 2017. In changes.csv, year follows the code table and notice_year follows the notice. Lagging rows are explained in note. One event is recorded once, in the year the code table reflects it. As a result, the 2015 and 2016 tables contain both 南市区 and 莲池区, and converting 2015's 莲池区 back to 2014 gives only 北市区.
  5. 双湖县 was established in 2012 and is already in the 2012 table as 542431. After 那曲地区 became a city in 2017, its code changed to 540630.
  6. Hong Kong, Macao, Taiwan: 台湾省 is listed as 710000, as in the MCA tables of each year. The National Geographic Names Information Database gives its code as “资料暂缺” (data not available).
  7. Official typos are kept (see Sources).

License and attribution

  1. The compilation, organization and annotations in data/ (the change types, relations and successor annotations of the change table, and the correction records) are released under CC BY 4.0. See LICENSE.
  2. The administrative-division codes, names and notice texts come from documents published by the Ministry of Civil Affairs of the People's Republic of China. See Sources and the source link on every row. CC BY 4.0 does not cover this official content itself.
  3. The geoalign/ library is under Apache-2.0; third-party notices are in geoalign/NOTICE.

Suggested attribution: “China Administrative Division Codes and Changes (2012–2025), World Insight Lab, CC BY 4.0. Underlying data: Ministry of Civil Affairs of the People's Republic of China.”

Versions

Version Date Changes
1.0 2026-11 First release. Year-end tables 2012–2025 (45,009 rows), changes 2013–2025 (402 rows), 521 correction records; geoalign 0.1.0. Sources retrieved 2026-11-18
1.0 2026-11-19 Data unchanged. geoalign 0.1.1: package metadata now points to the GitHub repository; code and data unchanged

Citation

@misc{worldinsightlab_china_admin_divisions_2026,
  author       = {{World Insight Lab}},
  title        = {China Administrative Division Codes and Changes, County Level and Above (2012--2025)},
  year         = {2026},
  version      = {1.0},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions}},
  note         = {Underlying data: Ministry of Civil Affairs of the People's Republic of China}
}

中文

概况

配置 文件 内容 行数
years(默认) data/years.csv 2012 至 2025 年,每年年底的县级以上代码和名称 45,009
changes data/changes.csv 2013 至 2025 年,相邻两年代码表之间的变更 402
corrections data/corrections_applied.csv 发布前做的全部改正 521
  • 层级:省级、地级、县级。没有乡镇、街道、村。
  • 每年约 3,200 行。2025 年底:省级 34 个、地级 333 个、县级 2,845 个。
  • 每个配置只有一个 train 划分。这是 datasets 库的惯例,没有训练集、测试集的意思。
  • 仓库里带一个 Python 工具库 geoalign:把地名写法变成代码,在年份之间换算代码。见配合 geoalign 使用。

years.csv 每年的行数:

2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025
3,219 3,220 3,222 3,219 3,220 3,219 3,218 3,213 3,209 3,208 3,208 3,209 3,213 3,212

changes.csv 每年的行数(按变更后那一年的表计):

2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025
35 70 67 74 27 36 38 22 22 0 3 4 4

2022 年没有行:2021 年底和 2022 年底的表,代码、名称、上级完全相同。

各列的意思

所有代码列(code、parent_code、old_code、new_code)都是 6 位的字符串。自己读 CSV 时请按字符串读。空单元格读出来是 null / None。

years.csv

列 意思
year 年份。表示这一年年底的状态
code 6 位行政区划代码
name 标准名称
level province(省级)、prefecture(地级)、county(县级)。按代码的形式判断
parent_code 上级代码。县的上级是地级,没有地级时是省。直辖市的区县、省直辖县的上级是省。省级为空
source_url 官方出处链接
archive_url 原链接失效时,互联网档案馆的存档副本链接
fetched 获取日期
verification 出处的说明

changes.csv

列 意思
year 变更后的表的年份
change_type 变更类型,见下表
relation 这一次变更整体的形状:一对一、多对一、一对多、多对多。新设的行为空
partial 是:旧单位只有一部分划给新单位
main 是:新单位是旧单位的主要承继(整体改设、合并、改名)。否:只是旧单位的一部分划给了新单位,或者公告没有说哪一方是主要承继
old_code、old_name 旧代码、旧名称
new_code、new_name 新代码、新名称
code_changed 新旧代码是否不同(是 / 否)
basis 依据:官方变更情况 或 相邻两年代码表比对
notice_year 依据是官方变更情况时,是哪一年的《县级以上行政区划变更情况》
evidence 公告原句(最多 200 字),原样照录
note 我们的说明(例:代码表比公告晚)。多数行是空的
source_url 公告链接
table_source_url 变更后那一年代码表的链接
fetched 获取日期

变更类型:

类型 意思
改名 同一个单位换了名称
撤县设区 县、旗、县级市改为市辖区
撤县设市 县、旗改为县级市
撤区设县 市辖区改为县
撤地设市 地区、盟改为地级市
合并 多个单位合成一个,或一个单位撤销后整个并入另一个
拆分 一个单位分给多个单位,或一部分划给别的单位
代码变化 名称不变,代码变了。多数是上级变了(例:那曲地区改为那曲市以后,尼玛县 542430 改为 540629)
新设 公告写明设立,没有说从哪个县级以上单位来。多数由乡镇设立

changes.csv 共 402 行:撤县设区 121、拆分 70、代码变化 69、合并 54、撤县设市 52、新设 17、改名 9、撤地设市 8、撤区设县 2。依据是官方变更情况的 401 行,相邻两年代码表比对的 1 行。

corrections_applied.csv

列 意思
row 哪一行变更(年份、旧单位 → 新单位)
action 改字段(496 条)、补行(20 条)、删行(5 条)
field 改的字段
old_value、new_value 原来的值、改后的值
reason 理由
evidence 公告原句

变更表怎么读

  • 一次合并或拆分写成多行,每对旧单位和新单位一行。
  • 同一年里共用一个代码的行算同一次变更,不管这个代码在行里是旧代码还是新代码。同一次变更的各行写同一个 relation。
  • relation 的写法:
    1. 旧的一方:行里的旧代码。保留原代码、整体接收了别的单位的一方不写行,但也算旧的一方(例:白下区并入秦淮区,只有“白下区→秦淮区”一行,算 多对一)。
    2. 新的一方:行里的新代码。只划出一部分、自己代码不变的单位,如果在这次变更里没有接收别的单位,不算到新的一方(例:龙岗区划出一部分设立坪山区,写 一对一)。
    3. 一个单位既划出一部分、又接收了别的单位的一部分时,两边都算(例:2025 年北碚区划给两江新区一部分,又接收渝北区的 5 个镇,这一组写 多对多)。
    4. 旧的一方、新的一方各 1 个是 一对一。新的一方 1 个是 多对一。旧的一方 1 个是 一对多。其他是 多对多。
  • 哪些变更进表:只收至少有一个县级以上代码出现、消失或改变的变更。它的每一对旧单位、新单位都写一行,包括只划了一部分的。只调整边界、所有代码都没变的变更不收(例:几个县的部分区域划给图木舒克市)。
  • 沿拆分往后找一个单位的去向时,用 main = 是 的行。没有 main = 是 的行时,公告没有说主要承继,去向不唯一。

例:2014 年的公告撤销石家庄市桥东区(130103),区域分给长安区(130102)和桥西区(130104)。变更表里有两行 拆分,year 是 2015(按代码表),notice_year 是 2014。两行都是 main = 否,去向不唯一。

出处

年份 来源
2012、2013、2014 民政部官网原页。原链接已失效,archive_url 是互联网档案馆的存档副本
2015 至 2024 民政部官网原页
2025 民政部国家地名信息库的行政区划数据。去掉了 2026 年才设立的 2 个单位,见已知的限制
变更 民政部《县级以上行政区划变更情况》(http://xzqh.mca.gov.cn/description?dcpid=<年份>,网页用 GBK 编码)

每一行都带出处链接和获取日期。

照录官方页:代码和名称照官方页原样记录,官方页上的笔误也照录,不改。例:2015 年公告撤销马尔康县、设立马尔康市,但 2015 年的官方代码表把 513201 写成“马尔康区”,2016 年的表才改成“马尔康市”。years.csv 的 2015 年照录“马尔康区”,changes.csv 里有一行 2016 年的“改名”记录这次更正。

怎么核对的

  1. 2013 至 2025 年的全部变更行,对照每一年的公告逐条读过。每一处改正都列在 corrections_applied.csv:哪一行、哪个字段、原来的值、改后的值、理由、公告原句。原来按代码表比对得出、公告里其实有的 79 行,改为以公告为依据;main、变更类型、partial、relation 按公告改正;补 20 行公告写了、原来没有记的部分划转;删 5 行(重复记录,或者把以前年份的事记到了后面的年份);原来 12 行“来源未查明”“去向未查明”,全部按公告改正。现在没有说不清来源或去向的行。
  2. evidence 里的公告原句都由程序在公告全文里原样核对过。我们的说明只写在 note 里。
  3. 发布前做过两轮独立复查。第二轮:把 45,009 行和重新联网取回的 14 张官方表逐条比对,结果一致(2025 年除去掉的 2 行外完全一致);对照公告读了 67 行变更,旧单位、新单位、类型、partial 都和公告一致;用程序检查 2013 至 2025 年相邻两年代码表的每一处差异都有变更行解释。

怎么用

用 datasets

from datasets import load_dataset

years = load_dataset("WorldInsightLab/china-admin-divisions", "years", split="train")
changes = load_dataset("WorldInsightLab/china-admin-divisions", "changes", split="train")

print(years.num_rows, changes.num_rows)   # 45009 402
print(years[1])
# {'year': 2012, 'code': '110101', 'name': '东城区', 'level': 'county', 'parent_code': '110000', ...}

用 pandas(代码按字符串读):

import pandas as pd

base = "hf://datasets/WorldInsightLab/china-admin-divisions/data/"
years = pd.read_csv(base + "years.csv", dtype=str, keep_default_na=False)
changes = pd.read_csv(base + "changes.csv", dtype=str, keep_default_na=False)

y2025 = years[years.year == "2025"]
print(y2025.level.value_counts().to_dict())
# {'county': 2845, 'prefecture': 333, 'province': 34}

print(changes[changes.old_code == "130103"][["year", "change_type", "main", "new_code", "new_name"]])
#      year change_type main new_code new_name
# 109  2015          拆分    否   130102      长安区
# 110  2015          拆分    否   130104      桥西区

hf:// 路径要装 huggingface_hub。也可以把 CSV 文件下载到本地再读。

配合 geoalign 使用

仓库里的 geoalign/ 是基于这份数据的 Python 工具库(Apache-2.0,只用标准库,Python 3.8 以上)。它把地名写法变成代码,在年份之间换算代码,查一个代码的沿革。没有把握时不给代码,给全部候选。

从 PyPI 安装:

pip install geoalign

也可以从本仓库安装 wheel:

pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.1-py3-none-any.whl
from geoalign import Gazetteer
g = Gazetteer()

g.align("密云县").code                  # '110118'(密云区,最新的代码)
g.align("密云县", year=2013).code       # '110228'
g.align("朝阳区", parent="长春市").code  # '220104'
g.align("朝阳区").code                  # None:有两个朝阳区,见 .candidates
g.to_year("130103", 2016).codes         # ['130102', '130104'](拆分,exact=False)

完整说明、公开测试题和成绩见 geoalign/README.md。源代码和问题反馈在 github.com/World-Insight-Lab/geoalign。工具库只管县级以上,不要把乡镇名交给它。

已知的限制

  1. 只到县级以上。没有乡镇、街道、村。不要用这份数据或工具库给乡镇名配代码。
  2. 没有 2012 年以前的数据。
  3. 2025 年是年底的状态,依据是 2026 年的公告。国家地名信息库给的是取数当天的现行版,里面有 2026 年公告设立的岑岭县(653132,2026-03-26 公告)和草湖市(659013,2026-04-17 公告)。取数时《2026 年县级以上行政区划变更情况》只有这 2 条。我们去掉这 2 行,得到 2025 年底的状态。这样每一年都按同一个口径(年底)。如果国家地名信息库里有公告还没写的 2026 年变化(例:只改了名称),我们查不出来。
  4. 代码表比公告晚。有的变更在公告里是一年,代码表晚一年或几年才反映。例:三沙市西沙区、南沙区 2020 年设立,2024 年的表才有。保定市南市区 2015 年并入莲池区,2017 年的表才去掉 130604。变更表的 year 按代码表记,notice_year 按公告记。代码表晚的行在 note 里写了说明。同一件事只记一行,记在代码表反映它的那一年。所以 2015、2016 年的代码表里南市区和莲池区同时存在,把 2015 年的莲池区换回 2014 年时,只得到北市区。
  5. 双湖县:2012 年设立。2012 年的表就有 542431 双湖县。2017 年那曲撤地设市以后,代码改为 540630。
  6. 港澳台:台湾省按历年民政部表写 710000。国家地名信息库把台湾省的代码写成“资料暂缺”。
  7. 官方笔误照录(见出处)。

许可和出处声明

  1. data/ 里的编排、整理和标注(变更表的类型、关系、承继标注,改正记录)按 CC BY 4.0 许可发布,见 LICENSE。
  2. 行政区划代码、名称和公告原文来自中华人民共和国民政部公开发布的文件,见出处和每一行的出处链接。CC BY 4.0 不覆盖这些官方内容本身。
  3. geoalign/ 工具库按 Apache-2.0 许可发布,第三方声明见 geoalign/NOTICE。

建议的署名写法:“中国县级以上行政区划代码和变更(2012—2025),World Insight Lab,CC BY 4.0。底层数据:中华人民共和国民政部。”

版本和更新记录

版本 日期 内容
1.0 2026-11 第一版。2012 至 2025 年年底的代码表(45,009 行),2013 至 2025 年的变更(402 行),改正记录 521 条;geoalign 0.1.0。出处获取日期 2026-11-18
1.0 2026-11-19 数据没有变。geoalign 0.1.1:包的元数据改为指向 GitHub 仓库,代码和数据没有变

引用

@misc{worldinsightlab_china_admin_divisions_2026,
  author       = {{World Insight Lab}},
  title        = {China Administrative Division Codes and Changes, County Level and Above (2012--2025)},
  year         = {2026},
  version      = {1.0},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions}},
  note         = {Underlying data: Ministry of Civil Affairs of the People's Republic of China}
}
Downloads last month
63