Crime Data Analysis for Kansas and Other Cities

September 3, 2023

Overview

This project focuses on analyzing crime data for various cities and comparing them with Kansas crime data. By using data preprocessing and statistical methods, we aim to identify patterns and trends in crime rates across different regions.

Project Components

Data Preprocessing

  • File: kansas.ipynb
  • Description: Notebook for preprocessing Kansas crime data for the years 2021 to 2023.
  • File: KCPD.ipynb
  • Description: Notebook for preprocessing and analyzing Kansas City Police Department (KCPD) crime data.

Data Analysis

  • File: cities_crime_data/*
  • Description: Contains CSV files for crime data from various cities for comparison with Kansas crime data.
  • File: crime city data/*
  • Description: Contains CSV files for crime data specific to each city.

Merged Data

  • File: merged_kansas_2021_2023.csv
  • Description: Merged crime data for Kansas from 2021 to 2023.
  • File: merged_kansas_2021_2023_100000.csv
  • Description: Filtered merged data for Kansas with a specific threshold for analysis.

Technologies

  • Programming Language: Python
  • Libraries and Frameworks:
    • Pandas
    • NumPy
    • Matplotlib
    • Seaborn
    • Scikit-learn
  • Tools:
    • Jupyter Notebook
    • Git
    • GitHub

Repository

You can find the complete code and resources for this project in the GitHub repository.


Created as part of an effort to analyze and compare crime rates across different cities to identify patterns and inform public safety strategies.