back to home

modood / Administrative-divisions-of-China

中华人民共和国行政区划:省级(省份)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。

20,603 stars
7,230 forks
27 issues
JavaScriptShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing modood/Administrative-divisions-of-China in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/modood/Administrative-divisions-of-China)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Administrative-divisions-of-China

code style npm downloads license

中华人民共和国行政区划(五级):省级、地级、县级、乡级和村级。

数据来源

【温馨提醒:本项目数据不再更新】

根据国务院批复同意的《关于统计上划分城乡的规定》(国函〔2008〕60号)及国家统计局印发的《统计用区划代码和城乡划分代码编制规则》(国统字〔2009〕91号),统计用区划代码和城乡划分代码是开展各项普查、全面统计、抽样调查、专项调查等政府统计工作的基础,属于工作中使用的内部资料,不适用于向全社会公开。根据国家统计局政府信息公开相关要求,自2024年10月起,国家统计局继续公开《关于统计上划分城乡的规定》《统计用区划代码和城乡划分代码编制规则》等统计标准方法,不再公开具体相关代码。

数据下载

文件列表JSONCSV
省级(省份、直辖市、自治区)provinces.jsonprovinces.csv
地级(城市)cities.jsoncities.csv
县级(区县)areas.jsonareas.csv
乡级(乡镇、街道)streets.jsonstreets.csv
村级(村委会、居委会)villages.jsonvillages.csv
文件列表普通带编码
“省份、城市” 二级联动数据pc.jsonpc-code.json
“省份、城市、区县” 三级联动数据pca.jsonpca-code.json
“省份、城市、区县、乡镇” 四级联动数据pcas.jsonpcas-code.json
“省份、城市、区县、乡镇、村庄” 五级联动数据--

提示:需要打包下载全部文件,请看 Releases

数据库支持

目前本项目数据保存在 sqlite3,数据文件下载:data.sqlite

可以自己将数据迁移到其他数据库管理系统中(MySQL, Oracle, MSSQL 等)。

省级数据预览

codename
13河北省
14山西省
15内蒙古自治区
45广西壮族自治区

地级数据预览

codenameprovinceCode
1301石家庄市13
1401太原市14
1525锡林郭勒盟15
4503桂林市45

县级数据预览

codenamecityCodeprovinceCode
130111栾城区130113
140121清徐县140114
152527太仆寺旗152515
450305七星区450345

乡级数据预览

codenameareaCodecityCodeprovinceCode
130111200南高乡130111130113
140121102东于镇140121140114
152527201贡宝拉格苏木152527152515
450305004漓东街道办事处450305450345

村级数据预览

codenamestreetCodeareaCodecityCodeprovinceCode
130111200201南高村委会130111200130111130113
140121102001东于社区居委会140121102140121140114
152527201206敦达乌苏嘎查152527201152527152515
450305004006横塘社区450305004450305450345