Skip to content

JamesBonddu/china-regions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

China Regions

中华人民共和国县以上省市地区行政区划数据, 提供 JSON, SQL, JS (ES6), CSV 等数据格式.

本数据来自中华人民共和国民政部, 爬虫自动监测数据更新并生成新的数据文件.

最后更新于 2020-02-19. (源网页)

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, the crawler will monitor the update of data and generate data files automatic.

Latest upated at 2020-02-19. (Source)

Structure

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

About

[Update to 2020-02-19] Regions data of China, 最新中国省市地区行政区划数据 (动态更新), (.json / .js / .sql / .csv)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.9%
  • TSQL 19.1%