{"id":13814550,"url":"https://github.com/mumuy/data_location","last_synced_at":"2025-10-06T22:32:00.463Z","repository":{"id":37706347,"uuid":"66473729","full_name":"mumuy/data_location","owner":"mumuy","description":"中华人民共和国行政区划数据【省、市、区县、乡镇街道】中国省市区镇三级四级联动地址数据（GB/T 2260）","archived":false,"fork":false,"pushed_at":"2025-08-13T06:49:53.000Z","size":2237,"stargazers_count":2980,"open_issues_count":1,"forks_count":509,"subscribers_count":118,"default_branch":"master","last_synced_at":"2025-08-13T08:32:31.735Z","etag":null,"topics":["administrative-divisions","area","china","json"],"latest_commit_sha":null,"homepage":"https://passer-by.com/data_location/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mumuy.png","metadata":{"files":{"readme":"README.md","changelog":"history.json","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-08-24T15:00:28.000Z","updated_at":"2025-08-13T06:49:57.000Z","dependencies_parsed_at":"2023-02-19T09:31:13.296Z","dependency_job_id":"b11bafb3-c2dc-4495-945f-092bcc9aec26","html_url":"https://github.com/mumuy/data_location","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mumuy/data_location","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumuy%2Fdata_location","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumuy%2Fdata_location/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumuy%2Fdata_location/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumuy%2Fdata_location/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mumuy","download_url":"https://codeload.github.com/mumuy/data_location/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mumuy%2Fdata_location/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278690975,"owners_count":26029171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["administrative-divisions","area","china","json"],"created_at":"2024-08-04T04:02:12.880Z","updated_at":"2025-10-06T22:32:00.457Z","avatar_url":"https://github.com/mumuy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# 中国行政区划信息\n\n数据演示地址：[https://passer-by.com/data_location/](https://passer-by.com/data_location/)\n\n三级联动插件：[https://jquerywidget.com/jquery-citys/](https://jquerywidget.com/jquery-citys/)     (基于jQuery)\n\n区划选择组件：[https://jquerywidget.com/widget-region/](https://jquerywidget.com/widget-region/)    (基于Web Components)\n\n身份证号识别：[https://passer-by.com/idcard/](https://passer-by.com/idcard/)\n\n### 版权\n数据库由 [passer-by.com](https://passer-by.com/) 整理,获取最新最全的数据还请关注此项目。\n\n### 数据说明\n- 省、市、区数据来自于民政局、国务院公告、国家统计局，确保及时更新和权威；\n- 街道(镇、乡)数据由于数据庞大，各地各级之前公函较多，无法保证及时有效（最新数据2023年10月31日）；\n- 街道(镇、乡)数据文件较多，为兼容旧行政区划代码，采取文件覆盖式更新；\n- 数据是以行政区为单位的行政区划数据。行政管理区与行政区存在重合，不予收录;\n\n (行政管理区通常包含:***经济特区/经济开发区/高新区/新区/工业区；亦有部分行政管理区升为行政区，需加以区分)\n\n### 关于行政区划代码\n使用《中华人民共和国行政区划代码》国家标准(GB/T2260).\n这部分可分为三个层次,从左到右的含义分别是：\n- 第一、二位表示省(自治区、直辖市、特别行政区)\n- 第三、四位表示市(地区、自治州、盟及国家直辖市所属市辖区和县的汇总码)\n- 第五、六位表示县(市辖区、县级市、旗).\n\n#### 代码区段\n\n##### 地级\n- XX0100-XX2000 / XX5100-XX7000：地级市；\n- XX2100-XX5000：地区/自治州；\n\n##### 区县级\n- XXXX01-XXXX50 / XXXX01-XXXX50：市辖区、不由地级市代管的县级市；\n- XXXX51-XXXX80：县、自治县；\n- XX90XX：省直管县级单位；\n- XXXX81-XXXX99：地级市代管县级市；\n\n\n#### 代码标准\n* [中华人民共和国民政部-中华人民共和国行政区划代码](https://www.mca.gov.cn/mzsj/xzqh/2025/202401xzqh.html)\n* [中华人民共和国民政部-行政区划代码管理办法](https://www.mca.gov.cn/gdnps/pc/gzk/content.jsp?id=1662004999980005812)\n* [中华人民共和国国家统计局-统计用区划和城乡划分代码](http://www.stats.gov.cn/sj/tjbz/tjyqhdmhcxhfdm/2023/index.html)\n* [中华人民共和国国家统计局-统计用区划代码和城乡划分代码编制规则](http://www.stats.gov.cn/sj/tjbz/gjtjbz/202302/t20230213_1902741.html)\n\n港澳台地区编码并非标准编码，而是整理和参考标准编码规则自定义的，方便用户统一使用。\n\n### 反馈\n如果有哪些地方数据错误或者更新不及时，还请告知(在\"Issues\"中留言)，以便尽快更新～\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmumuy%2Fdata_location","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmumuy%2Fdata_location","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmumuy%2Fdata_location/lists"}