To get started with the project, follow these steps:
-
Clone the repository:
$ git clone https://github.com/open-data-kazakhstan/city-water-quality-index.git
-
Create and activate a virtual environment:
pip install venv python -m venv /path/to/localrepo cd /path/to/localrepo Scripts/activate # For Windows users
-
Install dependencies:
pip install -r requirements.txt
-
Run the project:
python scripts/main.py
Water data is sourced from (stat.gov.kz).
source.xls
: Raw data of water consumption by region for the year 2022.water.csv
: Cleaned version containing data of urban areas only in 2022.
All consumption values are provided in thousands of cubic meters.
package.py
: Used to create or update the datapackage.json file containing metadata about the dataset.transform.py
: Used to convert the source.xls file to a CSV format for easier processing.
This dataset is licensed under the Open Data Commons Public Domain and Dedication License.