Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.22 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.22 KB

City Population

Installation

To begin using the project, follow the steps below:

  1. Clone the repository:

    $ git clone https://github.com/open-data-kazakhstan/city-population.git
  2. Create and activate a virtual environment:

    pip install venv
    python -m venv /path/to/localrepo
    cd /path/to/localrepo
    Scripts/activate  # For Windows users
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the script (data transformation):

    python scripts/transform.py

Data

Population data is sourced from stat.gov.

  • archive/source.xlsx: Raw data of population of Kazakhstan as of January 1, 2023.
  • data/city_population.csv: Cleaned version containing population information in regions and three major cities of Kazakhstan.

Scripts

  • package.py: Used to create or update the datapackage.json file containing metadata about the dataset.
  • transform.py: Used to convert the source.xlsx file to a CSV format for easier processing.

License

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