Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.28 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.28 KB

city-crime

Installation

Clone the repository

$ git clone https://github.com/open-data-kazakhstan/inflation-and-avg-salary-with-projections.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 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/comb.csv - final combined data about occured crime acts, that we later would use for graph
  • datapackage.json - conatins all of the key information about our dataset

Scripts

  • anim.py - uses matplotlib to create an infographic
  • datapack.py - creating datapckage.json file that conatinsall meatadata

License

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