Clone the repository
$ https://github.com/open-data-kazakhstan/city-clearance-rate.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 qamqor.gov.kz stats: https://qamqor.gov.kz/crimestat/statistics
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/output.csv
- final combined datadata/clearance-rate-divided
- Data with defined clearance ratedatapackage.json
- conatins all of the key information about our dataset
Main output data in file 'clearance-rate-divided' where column clearance-rate means amount of crime investigated and also column clearance-rate-divided is calculated by dividing the number of crimes that are "cleared" (a charge being laid) by the total number of crimes recorded
scripts/script.py
- our main scriptdatapack.py
- creating datapckage.json file that conatinsall meatadata
This dataset is licensed under the Open Data Commons Public Domain and Dedication License.