Police Killings from 2015 to 2019

Ira Villar
Posted on Jun 22, 2020

The main goal for this project was to acquaint myself even further with Tableau. In choosing a topic I wanted something that felt very important for today's milieu. On Kaggle, I stumbled upon a data set that focuses on civilians that were killed by the police (whether warranted or not). I may have my own views and opinions but I tried to be as neutral and impartial as possible. After all, I could have an angle but it still has to be driven by the data. 

Police Shooting Data Set 

GitHub of the Project

Tableau Dashboard



The first thing I did was peruse and look through the data. I noticed that each incident had a corresponding address and location. My initial plan was to just use map data (perhaps as states) but now I saw that I could plot out individual points for greater detail. I had to get the longitude and latitude of each address though and geocoding was available in small batches from various free websites. I needed over 7000 points though so I used Geocoding through this website instead.

After the arduous process of cleaning the data, it was ready. I created a sub-data frame for the killings address to be geocoded. After the results came back, I merged it with the original data frame to add the new columns for longitude and latitude. The result is as follows.

The advantage of Tableau is that you can add tooltips or hover information for each of the points. Based on importance, I chose the victim's name, age, race, symptoms of mental illness or influence, location, date, whether they were armed, etc.

If I had a map of police killings, these are the information points I would like to be highlighted. 

This was the early draft of my project and it would just be this map but I noticed interesting points that I would like to dive deeper into. It was worth noting that it seemed like there were more white victims than black victims. I wanted to give the user the ability to compare demographics in certain states so I decided to create another map with state information instead. Here is an example of a sample state when hovered.

This way the user could compare the state's demographics and population against the map of the killings.

Another filter I added was whether bodycams were used by the Police. I figured this would be noteworthy when it comes to the discussion of accountability and whether the officer indeed needed to kill the subject.

Here is the map of the killings WITH the bodycam on.

Now here's a shot of the map WITHOUT the bodycam on.

There's a stark difference and I suggest that you could come to your own conclusions on the matter. 

There's a lot of data to go through in the dashboard but the biggest takeaways I got is that the victims were primarily White, Black, and Hispanic. It didn't matter what the population or demographic percentage was. It was also noteworthy how little bodycams were used during these sad events. While one can argue that in a case of self-defense or life and death, due process might seem like a non-priority, many of the victims were unarmed and perhaps there may have been a better way to approach. 

The data is clear that there is a lot of murky gray area when it comes to these incidents but when it comes to the life and death of the victims, extreme approaches should only be done when absolutely necessary. 




About Author

Ira Villar

Ira Villar

Ira is currently a Data Science Fellow at the NYC Data Science Academy. He has nearly a decade of experience in film directing and production. This gives him a unique insight and perspective when it comes to data...
View all posts by Ira Villar >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python python machine learning python scrapy python web scraping python webscraping Python Workshop R R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp