Code Monkey home page Code Monkey logo

chicago-crime-data-analysis's Introduction

Analysis and mining of Chicago crime data using R.

About the Data Set

• We use dataset “Crimes - 2001 to 2018 from https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2. This dataset reflects reported incidents of crime that occurred in the City of Chicago from 2001 to 2018.

• Data is extracted from the Chicago Police Department’s CLEAR (Citizen Law Enforcement Analysis and Reporting) system.

• Each record is a reported incident of crime, and for this analysis, we have selected the 6.5 million records between the years 2001 and 2018.

The Variables

This data set presents some unique visualization challenges since it contains only categorical and no continuous variables.

The variables we have retained or derived from the original set fall into three broad categories, and a brief description of them follows:

Crime Variables

• Crime: The name of the crime.

• Crime. Type: Violent/Nonviolent. We categorized have categorized the crimes according to the FBI’s definition of violent crime as “those offenses which involve force or threat of force.”

• Crime. Description: A short description of the crime.

• Arrest: true/false. Whether an arrest was made.

• Domestic: Whether the incident was related to the Illinois Domestic Violence Act.

Time Variables

From the provided timestamp of the incident, we have parsed the following time dimensions using the lubridate package: Date, Year, Month, DayOfWeek and Hour

Location Variables

• Community. Area: These are the 77 neighbourhoods recognized by the city of Chicago.

• Location. Description: Describes where the incident took place.

chicago-crime-data-analysis's People

Contributors

vishnureddy45 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.