Skip to content

Commit

Permalink
Upgrade 2019-11-05 data.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 20, 2019
1 parent f01c0d2 commit 5e9eeba
Show file tree
Hide file tree
Showing 16 changed files with 1,174,902 additions and 127,100 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.cache
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

来自中华人民共和国民政部,用于查询中国省,市和区数据的网站。

- [中华人民共和国行政区划代码,更新时间:2019-06-21](http://www.mca.gov.cn/article/sj/xzqh/2019)
- [中华人民共和国行政区划代码,更新时间:2019-11-05](http://www.mca.gov.cn/article/sj/xzqh/2019)
- [统计用区划和城乡划分代码,更新时间:2019-01-31](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)

### 数据更新 Diff
Expand Down Expand Up @@ -89,6 +89,25 @@ const city = require('province-city-china/dist/city.json');
| 县级(区县) | [area.json](./dist/area.json) | [area.csv](./dist/area.csv) | - | [area.json](https://unpkg.com/province-city-china/dist/area.json) / [csv](https://unpkg.com/province-city-china/dist/area.csv) |
| 乡级(乡镇/街) | [town.json](./dist/town.json) | [town.csv](./dist/town.csv) | - | [town.json](https://unpkg.com/province-city-china/dist/town.json) / [csv](https://unpkg.com/province-city-china/dist/town.csv) |

### 总数据(省/地/县/乡)

[data.json](./dist/data.json) | [data.csv](./dist/data.csv) | [data.sql](./dist/data.sql)

```json
[
{
"code": "110000",
"name": "北京市",
"province": "11",
"city": 0,
"area": 0,
"town": 0
},
]
```

**省/地/县/乡层级数据**


## License

Expand Down
1 change: 1 addition & 0 deletions data.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ module.exports = {
city: require('./dist/city.json'),
area: require('./dist/area.json'),
town: require('./dist/town.json'),
level: require('./dist/level.json'),
};
Loading

0 comments on commit 5e9eeba

Please sign in to comment.