https://github.com/instapp/china-regions
[Update to 2020-02-19] Regions data of China, 最新中国省市地区行政区划数据 (动态更新), (.json / .js / .sql / .csv)
https://github.com/instapp/china-regions
Last synced: 3 months ago
JSON representation
[Update to 2020-02-19] Regions data of China, 最新中国省市地区行政区划数据 (动态更新), (.json / .js / .sql / .csv)
- Host: GitHub
- URL: https://github.com/instapp/china-regions
- Owner: instapp
- License: mit
- Created: 2017-05-05T03:53:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T20:13:48.000Z (almost 4 years ago)
- Last Synced: 2025-10-31T00:39:19.518Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 548 KB
- Stars: 116
- Watchers: 8
- Forks: 50
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# China Regions
中华人民共和国县以上省市地区行政区划数据, 提供 `JSON`, `SQL`, `JS (ES6)`, `CSV` 等数据格式.
本数据来自[中华人民共和国民政部][1], 爬虫自动监测数据更新并生成新的数据文件.
最后更新于 2020-02-19. ([源网页][2])
## Intro
The People's Republic of China regions data, provide `JSON`, `SQL`, `JS (ES6)`, `CSV` data format.
The data that is from [Ministry of Civil Affairs of the People's Republic of China][1], the crawler will monitor the update of data and generate data files automatic.
Latest upated at 2020-02-19. ([Source][2])
## Structure
```bash
data
├── csv
│ ├── cities.csv
│ ├── districts.csv
│ └── provinces.csv
├── js
│ ├── regions.js # 省市区全部数据
│ └── regions.object.js # 省市区全部数据 (对象)
├── json
│ ├── cities.json
│ ├── cities.object.json
│ ├── districts.json
│ ├── districts.object.json
│ ├── provinces.json
│ ├── provinces.object.json
│ ├── regions.json # 省市区全部数据
│ └── regions.object.json # 省市区全部数据 (对象)
│ └── regions.object.flat.json # 省市区全部数据 (扁平对象)
│ └── regions.object.flat.full.json # 省市区全部数据 (扁平对象含父级)
└── sql
├── cities.sql
├── districts.sql
├── provinces.sql
└── regions.sql # 省市区全部数据
```
## References
- [中华人民共和国行政区划代码][1]
- [Administrative divisions of China][3]
[1]: http://www.mca.gov.cn/article/sj/xzqh/2019/
[2]: http://www.mca.gov.cn/article/sj/xzqh/2019/2019/202002261356.html
[3]: https://en.wikipedia.org/wiki/Administrative_divisions_of_China