Skip to content

gams/stateair_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stateair stats - statistics on PM2.5 history in China

Data source

All data was obtained from: http://www.stateair.net/

Data

To get the script to run, you need to download the csv files from the data source and put them in folders named as follow: _data/<cityname>

For example, the Shanghai data should be in _data/shanghai

After the source files have been downloaded, remove the comments in the first lines of the files.

Install

Get the code:

$ git clone git@github.com:gams/stateair_stats.git

Install needed packages:

$ pip install -r requirements.txt

Usage

$ python data_stats.py

or

$ python data_stats.py beijing

It will create a PNG file in the _data folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages