Eco spendings and negative emissions

Installation

Clone the repository

https://github.com/open-data-kazakhstan/eco-spendings-and-emissions.git

Requires Python 3.11.3

Create a virtual environment and activate it

pip install venv
python -m venv /path/to/localrepo

Swicth to venv directory by using cd comand

cd /path/to/localrepo
Scripts/activate

Install dependecies in venv by using pip

pip install -r requirements.txt

Run the project:

python scripts/main.py

Data

Salary data collected by hand from stat.gov stats: https://stat.gov.kz/

We downoladed data from this source and placed it in the data folders

We have processed the source data to make it normalized and derived several aggregated datasets from it:

  • data/unpiv.csv - sourсe data for amount of spendings on ecology
  • data/unpiv_part2.csv - sourсe data for an amount of negative emissions
  • data/fin_eco_am.csv - expanded main dataset which predicts amount of expenses on ecology from 2023 to 2050
  • data/eco_drop_regr.csv - expanded main dataset which predicts sourсe data for a negative emissions from 2023 to 2050
  • datapackage.json - conatins all of the key information about our dataset
  • Eco_comb\csv_comb.csv - contains combined data for final animated plot

Scripts

  • scripts/eco_anim.py - uses matplotlib to create an infographic about spending on ecology
  • scripts/eco_drop_anim.py - uses matplotlib to create an infographic about amount of negative emissions
  • Eco_comb\animate_comb.py - uses combined data to create a final infographic
  • scripts/datapack.py - creating datapckage.json file that conatinsall meatadata

License

This dataset is licensed under the Open Data Commons Public Domain and Dedication License.