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
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 ecologydata/unpiv_part2.csv
- sourсe data for an amount of negative emissionsdata/fin_eco_am.csv
- expanded main dataset which predicts amount of expenses on ecology from 2023 to 2050data/eco_drop_regr.csv
- expanded main dataset which predicts sourсe data for a negative emissions from 2023 to 2050datapackage.json
- conatins all of the key information about our datasetEco_comb\csv_comb.csv
- contains combined data for final animated plot
scripts/eco_anim.py
- uses matplotlib to create an infographic about spending on ecologyscripts/eco_drop_anim.py
- uses matplotlib to create an infographic about amount of negative emissionsEco_comb\animate_comb.py
- uses combined data to create a final infographicscripts/datapack.py
- creating datapckage.json file that conatinsall meatadata
This dataset is licensed under the Open Data Commons Public Domain and Dedication License.