Git Product home page Git Product logo

chicago's Introduction

chicago

chicago-businesses

Data set that combines several years of publicly available data for businesses, crime, unemployment, and other socioeconomic factors using business license data from the City of Chicago's data portal, crime data from Chicago PD built out in chicago-crime, as well as figures for socioeconomic factors from the Chicago Metropolitan Agency for Planning (CMAP). I have combined these datasets to create a holistic overview of neighborhood health and characteristics over time (2015-2023) in the hopes of both shedding light on the stark divide between Chicago's neighborhoods and potential policy areas to address underdeveloped neighborhoods.

The chicago-businesses R script creates the data set as well as corresponding summary tables and the underlying objects used to create the final dataset. The final data set is the result of several joins of tables containing the independent data sets. Cleaning and manipulation was required to pull together a complete data set that is usable for analysis.

The subsequent chicago-community-analysis script attempts to draw conclusions from the data pulled through chicago-businesses, including observing heteroskedasticity among the observations, attempts to normalize the data, identifying correlations between variables of interest through plotting, and grouping similar neighborhoods through k-means clustering.

This project uses data downloaded at the following public sources:

Business License data: https://data.cityofchicago.org/Community-Economic-Development/Business-Licenses/r5kz-chrr/about_data

CMAP community factors: https://datahub.cmap.illinois.gov/search?categories=%252Fcategories%252Feconomy&q=Community%20Data%20Snapshots

CPD crime data: https://home.chicagopolice.org/statistics-data/statistical-reports/

chicago-crime

Chicago PD data analysis on Chicago community areas between 2015-2023

This project is intended to provide a summary overview of various aspects of crime in Chicago neighborhoods. Combining several years of public data provided by the Chicago Police and CMAP, this code showcases several summary views and plots of violent crime and demographic variables across neighborhood and year to give a high-level overview of trends and potential exacerbators of crime. The intention is to deliver an understanding of the issues faced predominantly by West and South side neighborhoods with disproportionately high crime rates.

I attempt to diagnose underlying causes of violent crime trends by investigating factors such as unemployment and their effect on violent crime rates, if any. Various statistical methods are used, such as pooled OLS, fixed effects, and first differences. Heterogeneity in the models as well as skewness in the underlying data remain a challenge, and further work is necessary to determine omitted variables.

The Chicago_crime_raw_2015-2023 contains the R code that contains the data manipulation, cleaning, analysis, plotting, and modeling tasks accomplished thus far. the R_workspace provides the actual objects created by the raw code.

Raw data available at CMAP and Chicago PD websites:

CMAP: https://datahub.cmap.illinois.gov/search?categories=%252Fcategories%252Feconomy&q=Community%20Data%20Snapshots

CPD: https://home.chicagopolice.org/statistics-data/statistical-reports/

chicago's People

Contributors

bellman123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.