Skip to main content

the data scrapied from http://datacenter.mep.gov.cn/report/air_daily/air_dairy.jsp?

Project description

#coding:utf8
Description:
The chinaAQI means china city Air Quality Index which is announced by china government
everday since 1st.Jan.2014.
Each row contains six elements:
(1.number 2.city name 3.date 4.air quality index 5.air quality degree 6.primary pollutan)
'1', '������', '2015-12-28', '149', '�����Ⱦ', 'PM2.5'
How to use:
Python version: 3.0 or above
pip install chinaAQI
import datetime
import chinaAQI
city = '������'
start = datetime.date(2015,1,1)
end = datetime.date(2016,1,1)
crawler = chinaAQI.Crawler(city, start, end)
crawler.scrapy()
print(crawler.data)
Conntact me:
ludlows@foxmail.com
https://github.com/ludlows/chinaAQI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chinaAQI-0.1.2.zip (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page