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.

Filename, size & hash SHA256 hash help File type Python version Upload date
chinaAQI-0.1.2.zip (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page