Skip to content

Final project for Business application programming.

Notifications You must be signed in to change notification settings

Fairy-Rong/Final-project

Repository files navigation

Shadows in the Sun - A guilty secret in a busy city

This is the website for the final project.

picture

Introduction

Crime in Chicago has always been an issue well worth exploring, and since many of our students have a strong desire to study in the United States, understanding how to protect yourself is even more of a meaningful topic. This repository is based on the data set collected by Chicago police to do data analysis as well as streamlit app.

Team

Yerong Wu & Junjie Lai

Dataset Description

Chicago Crime Dataset

This dataset reflects reported incidents of crime (with the exception of murders where data exists for each victim) that occurred in the City of Chicago from 2012 to present. Dataset contains type of crime, date, location information, block, street, arrest or not, and latitude and longitude information.

Presentation

Presentation

Data App

Streamlit Demo

The functions in the App

  • 📈 Rolling sum of specific case types
  • ⏱ Distribution of cases in different time periods
  • 🏠 Temporal analysis of crime rates by type and location
  • 🗺 Interactive Map with Location Search Function
  • 🤖 Artificial Intelligence Dialogue based on GPT-3

Repository Structure

Folder/Code Content
.streamlit Contains the confiq.toml to set certain design parameters
data Contains the scraped (and cleaned) Chicago Crime data in CSV format
apps Contains all the pages in streamlit app
geojson Contains GeoJson of Chicago administrative district division
multiapp.py The python file used to implement multi-page functionality
app.py The python file to run
requirements.txt Contains all requirements (necessary for Streamlit sharing)

About

Final project for Business application programming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published