Giter Club home page Giter Club logo

seattle-crime-analytics's Introduction

Crime Highest in Central Seattle during Summer 2014

Jeremy Shantz
2015-11-26

Seattle's crime was highest in the city centre during the summer of 2014. Using 32,000+ crime reports collected from June to July as part of the Seattle Summer 2014 dataset, we constructed a heatmap overlaid on top of a map of Seattle. A significant "hot spot" can clearly be seen in the centre of the city. In the North end, we observe a cluster of smaller hot spots. The heatmap's use of position and hue communicates both the distribution of the data and its frequency or intensity.

Fig 1. Seattle Crime Heatmap, Summer 2014

Summarized Offense Description

Next we examine the pattern of common crimes in the city centre. Focusing on the Summarized Offense Description field, we restrict our dataset to only the top 10 summarized offenses. Crime reports are plotted on a map of the city centre, coloured by offense. We further facet the plot by month. This figure allows us to see the distribution of common crimes in the core, and the pattern of that distribution across time. These plots use color to highlight a categorical variable and temporal facetting to illustrate change.

Fig 2. Seattle Top Crimes Monthly, Summer 2014

Reproducibility

This report was produced using an R Markdown script, a feature of the R programming language that allows for a "literate" programming style which mixes text with executable code. The full source code is available here and the data set is available here.

seattle-crime-analytics's People

Contributors

jeremyshantz avatar

Watchers

César E. San Lucas A. 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.