Skip to content

Interactive dashboard on crimes commited in Los Angeles in the first months of 2024

Notifications You must be signed in to change notification settings

vasia-korz/crime-dashboard-la

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Los Angeles Crime Analysis Dashboard

About the project

This interactive dashboard is designed to provide detailed insights into the safety and crime statistics of various areas within Los Angeles. It allows users to compare crime rates with the LA average, understand the demographics of victims, and assess the overall safety of different neighborhoods.

The safety index provides a quick view of how safe the selected area is relative to others in LA. A higher percentage means higher safety.

Demo

demo.mp4

Getting started

  1. Clone the repository:
git clone https://github.com/vasia-korz/crime-dashboard-la
  1. Enter the directory and create data directory:
cd crime-dashboard-la
mkdir data
  1. Download the dataset and put it into data directory. You should have dataset_extended.csv file in that folder.

  2. Run preprocessing script:

  • Windows
python preprocessing.py
  • macOS/Linux
python3 preprocessing.py
  1. Launch the application
  • From RStudio: click on the button "Run app" with green arrow.
  • From CLI:
bash run.sh

Source

The visualization would not be possible without the collected data. The details, with the dataset itself, you can find on the Los Angeles - Open Data Portal. Design decisions forced us to apply several preprocessing steps, which you can find in the preprocessing.py script.

About

Interactive dashboard on crimes commited in Los Angeles in the first months of 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published