Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

joy-rosie/uk_police_crime_data

Repository files navigation

UK Police Crime Data

This is a python repository to download UK police crime data and to visualise it using pandas, geopandas, matplotlib and plotly

Instructions

  1. Clone this repository using git clone

  2. cd into this repository locally

    • Create a conda environment using conda env create -f environment.yml
    • Or use pip install -r requirements.txt
  3. Use data_gather.ipynb to download the UK crime data using https://data.police.uk/data/archive/

  4. Create a mapbox account on https://account.mapbox.com/auth/signup/ and get a token from https://account.mapbox.com/

    • Create a JSON file authentication.json and put it in this folder using the following format:
    {
      "mapbox_access_token": "<insert token>"
    }
    • Otherwise you can directly input the token in the notebook
  5. Use data_visualisation.ipynb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages