Socket
Socket
Sign inDemoInstall

china-area-data

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    china-area-data

中国省份城市区数据


Version published
Weekly downloads
3.9K
increased by0.49%
Maintainers
1
Install size
605 kB
Created
Weekly downloads
 

Readme

Source

中国行政区域数据

安装

npm install china-area-data

版本说明

目录下的 data.json 默认为最新版本。务必先查看变更再升级大版本。

v5

国家统计局统计数据(2019年10月31日)

  • 更新最新数据。
  • 东莞和中山没有区,填充了下一级的县信息。
  • 补充了台湾省数据。
  • 增加 data-array.json 数组格式。

v4

同 v3,但是把原来应该在县下的从直辖市分离出来。

v3

最新县及县以上行政区划代码(截止2016年7月31日)

v2

最新县及县以上行政区划代码(截止2015年9月30日)

更新

v4.0.0

数据源同 v3,但是重庆下的县作为列表放出来。

v3.0.0

根据 2017.03.10 统计局数据进行更新

v2.1.0

简化市辖区,不加市前缀。比如 北京市 - 北京市市辖区 - 东城区 => 北京市 - 市辖区 - 东城区

v2.0.0

  • 按照最新统计局数据进行更新,部分区域已经不存在,部分id做了更新。因此请谨慎更新,评估后端数据存储设计和前端交互再进行更新,避免错误更新用户数据或者导致数据丢失。

完整更新如图

Keywords

FAQs

Last updated on 01 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc