https://github.com/phyng/scrapy-stats
Scrapy项目,抓取国家统计局区划代码,并用D3.js可视化
https://github.com/phyng/scrapy-stats
Last synced: about 1 year ago
JSON representation
Scrapy项目,抓取国家统计局区划代码,并用D3.js可视化
- Host: GitHub
- URL: https://github.com/phyng/scrapy-stats
- Owner: phyng
- License: mit
- Created: 2014-08-21T09:53:11.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-22T12:51:56.000Z (almost 12 years ago)
- Last Synced: 2025-04-09T16:08:20.649Z (about 1 year ago)
- Language: Python
- Homepage: http://phyng.com/scrapy-stats/
- Size: 797 KB
- Stars: 46
- Watchers: 10
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
scrapy-stats
============
Scrapy项目,抓取国家统计局区划代码,并用D3.js可视化
## 组成
抓取[国家统计局统计用区划代码](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/),得到2009-2013五年的统计用区划代码,以2013年为例:
layer |count(code)| name
------|-----------|------------
1 | 31 | 省/市/自治区
2 | 345 | 市
3 | 2856 | 县/区
4 | 43854 | 乡/镇/街道
5 | 694688 | 村/居委会
## 可视化
Demo:[http://phyng.com/scrapy-stats/](http://phyng.com/scrapy-stats/)
