Based on Data: Police Killings from 2015 to 2019

Posted on Jun 22, 2020
The skills I demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

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 cleaning the data

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.

data

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. 

data

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.

data

data

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

Data on bodycam usage

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.

data

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

data

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 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 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans 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 boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis 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 seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI