bin20060407 / Bin_cnarea
中国行政区划数据,省市区镇村共五级
Stars: ✭ 34
Projects that are alternatives of or similar to Bin cnarea
AdBlock-Acceleration
Accelerated subscription for international/China region ad filtering rules(国际/中国地区广告过滤规则的加速订阅)
Stars: ✭ 327 (+861.76%)
Mutual labels: china, region
Mmdb china ip list
Geoip MaxMind Database for china ip list! This is also an example of generating MaxMind Database!
Stars: ✭ 424 (+1147.06%)
Mutual labels: china
Jobs
Frontier Technology Job Recruitment List (BJ-TJ-HB Region in China)
Stars: ✭ 12 (-64.71%)
Mutual labels: china
Awesome Cn Cafe
A curated list of awesome coffee places in China.
Stars: ✭ 752 (+2111.76%)
Mutual labels: china
Vue Area Linkage
省市区联动选择: https://dwqs.github.io/vue-area-linkage/
Stars: ✭ 439 (+1191.18%)
Mutual labels: china
Rt Thread
RT-Thread is an open source IoT operating system.
Stars: ✭ 6,466 (+18917.65%)
Mutual labels: china
China Dictatorship
Chinese "Communist" "Dictatorship" "facts". 中国《共产主义》《独裁统治》的《事实》。Home to the mega-FAQ, news compilation, restaurant and music recommendations. 常见问答集,新闻集和饭店和音乐建议。Heil Xi 卐. 习万岁。
Stars: ✭ 337 (+891.18%)
Mutual labels: china
Highcharts China Geo
Highcharts 中国地图,Highcharts 中国省市地图,Highcharts China Map,南海诸岛geo
Stars: ✭ 29 (-14.71%)
Mutual labels: china
中国行政区划数据,省市区(县)镇村(乡)共五级
使用说明
20190314 更新自 2018年统计用区划代码和城乡划分代码(截止2018年10月31日),共 712182 条数据
在线测试
数据库为:MYSQL,表结构如下:
CREATE TABLE `bin_cnarea` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`area_code` CHAR(12) NOT NULL DEFAULT '' COMMENT '区域代码' COLLATE 'utf8_bin',
`level` TINYINT(4) NOT NULL DEFAULT '0' COMMENT '层级,从0开始',
`father` CHAR(12) NOT NULL DEFAULT '' COMMENT '父级区域代码' COLLATE 'utf8_bin',
`name` VARCHAR(50) NOT NULL DEFAULT '' COMMENT '区域名称' COLLATE 'utf8_bin',
`short_name` VARCHAR(50) NOT NULL DEFAULT '' COMMENT '简称' COLLATE 'utf8_bin',
PRIMARY KEY (`id`),
UNIQUE INDEX `area_code` (`area_code`),
INDEX `father` (`father`)
)
COMMENT='Binbin 中国行政区域表'
COLLATE='utf8_bin'
ENGINE=InnoDB
;
使用自取,如果有用,请点击Star
更新记录:
更新日期 | 条数 | 说明 | 数据源 |
---|---|---|---|
20160824 | 707679 | 新建项目,初次更新 | |
20160826 | 710740 | 调整更新脚本,再次更新 | |
20180106 | 712823 | 根据最新发布更新 | 2016年统计用区划代码和城乡划分代码 |
20180815 | 719474 | 根据2018-06-20发布更新 | 2017年统计用区划代码和城乡划分代码 |
20190314 | 712182 | 根据最新发布更新 | 2018年统计用区划代码和城乡划分代码(截止2018年10月31日) |
20190325 更新
- 新增在线数据显示 demo,demo 显示数据为静态 json 数据
20190314 更新
- 采用全新脚本获取数据,所有
URL
全部入库,共计:46829 - 由一个脚本分解成
城市
、县
,镇
、村
分开处理 - 使用队列来保证任务可靠性,也方便失败后进行重试
Todo
- [x] 提供在线 demo,方便查看数据
附注
本项目数据皆抓取自统计局网站,为避免对网站访问带来影响,只是用单线程采集,且每获取100次,sleep一分钟
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].