All Projects → dwqs → Area Data

dwqs / Area Data

Licence: mit
中国省市区数据(含港澳台)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Area Data

coronavirus-stats
Automatically scrape data and statistics on Coronavirus to make them easily accessible in CSV format
Stars: ✭ 47 (-88.97%)
Mutual labels:  china
Vpnforchina.github.io
2021中国翻墙软件和科学上网推荐指南,最新稳定好用的翻墙VPN推荐,能用的VPN梯子不多了,以及对比VPS自建梯子、SSR机场、V2ray、蓝灯、老王VPN、WireGuard等翻墙软件和科学上网方法。
Stars: ✭ 272 (-36.15%)
Mutual labels:  china
Gfwlist
The one and only one gfwlist here
Stars: ✭ 19,033 (+4367.84%)
Mutual labels:  china
zoning
中华人民共和国行政区划:省级(省份直辖市自治区)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会)
Stars: ✭ 110 (-74.18%)
Mutual labels:  china
bocfx
中国银行外汇牌价爬虫 / API (Bank of China - Foreign Exchange - Spider/ API)
Stars: ✭ 30 (-92.96%)
Mutual labels:  china
K8s For Docker Desktop
为Docker Desktop for Mac/Windows开启Kubernetes和Istio。
Stars: ✭ 3,863 (+806.81%)
Mutual labels:  china
China CoronaVirus Data Miner
Collects officially published daily stats for the corona-virus (China only) 收集新冠状病毒中国每日疫情数据,精确到地级
Stars: ✭ 24 (-94.37%)
Mutual labels:  china
China Dictatorship
Chinese "Communist" "Dictatorship" "facts". 中国《共产主义》《独裁统治》的《事实》。Home to the mega-FAQ, news compilation, restaurant and music recommendations. 常见问答集,新闻集和饭店和音乐建议。Heil Xi 卐. 习万岁。
Stars: ✭ 337 (-20.89%)
Mutual labels:  china
Feeluown
trying to be a user-friendly and hackable music player
Stars: ✭ 3,030 (+611.27%)
Mutual labels:  china
Chat Censorship
Data related to investigation of chat client censorship
Stars: ✭ 317 (-25.59%)
Mutual labels:  china
v2ray
V2ray看新闻,自动抓取可用节点,以V2ray的机制上网看新闻
Stars: ✭ 44 (-89.67%)
Mutual labels:  china
CSharpNamingGuidelines
C#命名规范中文版/C#编码规范中文版
Stars: ✭ 30 (-92.96%)
Mutual labels:  china
Trojan Go
Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/
Stars: ✭ 4,049 (+850.47%)
Mutual labels:  china
ACVR2017
An Innovative Salient Object Detection Using Center-Dark Channel Prior
Stars: ✭ 20 (-95.31%)
Mutual labels:  china
Zh Address Parse
全网识别准确度最高的中国大陆收货地址智能解析
Stars: ✭ 328 (-23%)
Mutual labels:  china
docker-wrapper
k8s docker 国内镜像 gcr.io quay.io
Stars: ✭ 35 (-91.78%)
Mutual labels:  china
Chinese Independent Developer
👩🏿‍💻👨🏾‍💻👩🏼‍💻👨🏽‍💻👩🏻‍💻中国独立开发者项目列表 -- 分享大家都在做什么
Stars: ✭ 17,381 (+3980.05%)
Mutual labels:  china
Mmdb china ip list
Geoip MaxMind Database for china ip list! This is also an example of generating MaxMind Database!
Stars: ✭ 424 (-0.47%)
Mutual labels:  china
Mirror Config China
Mirrors in China about node.js
Stars: ✭ 333 (-21.83%)
Mutual labels:  china
Pycharm Themes
TextMate themes for PyCharm
Stars: ✭ 305 (-28.4%)
Mutual labels:  china

area-data

中国行政区域数据(含港澳台)

v5

  • 更改新的数据来源:area-puppeteer
  • 在实用性上对数据作了格式化处理,见area-puppeteer#format.js
  • 新的导出会有两份数据:pca.jspcaa.js,前者仅包含省市数据,后者包含省市(县)区数据

v3.1

增加广东省中山市和东莞市的区镇数据(参考京东 pc 端的地区选择)

v3

增加港澳台数据(参考京东 pc 端的地区选择),v3之后不再提供或更新街道数据

v2

v2版本中,data.js 中不再包含街道数据,以减小打包体积。格式化的街道数据单独存放在 street.js 中,单独暴露全局变量 STREETS。可通过该CDN链接单独引入,或者下载该文件自行引入。

v1

v1版本中,data.js 包含省市区以及街道数据。

Installation

Install the pkg with npm:

npm install area-data --save

or yarn

yarn add area-data

or bower

bower install area-data

获取数据

// v5之前的版本
import AreaData from 'area-data';

// v5及之后的版本
import { pca, pcaa } from 'area-data';
// 可以根据需要按需引入:
import PCA from 'area-data/pca'; 
import PCAA from 'area-data/pcaa'; 

pca['86'] // 等同于 AreaData['86']
// 所有省份:{'110000': '北京市', '120000': '天津市', '130000': '河北省', ...}

pcaa['130000'] // 等同于 AreaData['130000']
// 对应省份的所有城市:{'130100': '石家庄市', '130200': '唐山市', '130300': '秦皇岛市', ...}

pcaa['130200'] // 等同于 AreaData['130200']
// 对应市的所有县区:{'130201': '市辖区', '130202': '路南区', '130203': '路北区', ...}

### v1
AreaData['130202']
// 对应县区的所有街道:{'130202001000': '学院南路街道', '130202002000': '友谊街道', ...}

官方数据(截止到2016.07.31): 城乡区域划分

数据来源: 最新省市区数据来自 area-puppeteer.

LICENSE

MIT

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].