npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

element-china-division

v0.0.3

Published

中华人民共和国行政区划:省份、城市、区县、乡镇(街道)、村(居)委会

Downloads

2

Readme

Administrative-divisions-of-China

code style npm downloads license

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

数据来源

数据下载

| 文件列表 | JSON | CSV | |:-----------------------------|:-----|:----| | 省级(省份、直辖市、自治区) | provinces.json | provinces.csv | | 地级(城市) | cities.json | cities.csv | | 县级(区县) | areas.json | areas.csv | | 乡级(乡镇、街道) | streets.json | streets.csv | | 村级(村委会、居委会) | villages.json | villages.csv |

| 文件列表 | 普通 | 带编码 | |:--------------------------------------------|:-----|:-------| | “省份、城市” 二级联动数据 | pc.json | pc-code.json | | “省份、城市、区县” 三级联动数据 | pca.json | pca-code.json | | “省份、城市、区县、乡镇” 四级联动数据 | pcas.json | pcas-code.json | | “省份、城市、区县、乡镇、村庄” 五级联动数据 | - | - |

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

数据库支持

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

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

省级数据预览

| code | name | |:-----|:---------------| | 13 | 河北省 | | 14 | 山西省 | | 15 | 内蒙古自治区 | | 45 | 广西壮族自治区 |

地级数据预览

| code | name | provinceCode | |:-----|:-----------|:-------------| | 1301 | 石家庄市 | 13 | | 1401 | 太原市 | 14 | | 1525 | 锡林郭勒盟 | 15 | | 4503 | 桂林市 | 45 |

县级数据预览

| code | name | cityCode | provinceCode | |:-------|:---------|:---------|:-------------| | 130111 | 栾城区 | 1301 | 13 | | 140121 | 清徐县 | 1401 | 14 | | 152527 | 太仆寺旗 | 1525 | 15 | | 450305 | 七星区 | 4503 | 45 |

乡级数据预览

| code | name | areaCode | cityCode | provinceCode | |:----------|:---------------|:---------|:---------|:-------------| | 130111200 | 南高乡 | 130111 | 1301 | 13 | | 140121102 | 东于镇 | 140121 | 1401 | 14 | | 152527201 | 贡宝拉格苏木 | 152527 | 1525 | 15 | | 450305004 | 漓东街道办事处 | 450305 | 4503 | 45 |

村级数据预览

| code | name | streetCode | areaCode | cityCode | provinceCode | |:-------------|:---------------|:-----------|:---------|:---------|:-------------| | 130111200201 | 南高村委会 | 130111200 | 130111 | 1301 | 13 | | 140121102001 | 东于社区居委会 | 140121102 | 140121 | 1401 | 14 | | 152527201206 | 敦达乌苏嘎查 | 152527201 | 152527 | 1525 | 15 | | 450305004006 | 横塘社区 | 450305004 | 450305 | 4503 | 45 |