A recent study published by the Harvard Injury Control Research Center shows that the frequency of mass shooting has increased over time. Some of the deadliest mass shootings in the U.S. happen last year February 2018 including the Parkland high school shooting and the massacre at the Tree of Life synagogue in Pittsburgh that occured in October 27, 2018 which prompted widespread national horror. But the death toll is not irrelevant to shooters’ motives. Criminologists who’ve studied them believe that body counts play a role in their calculations.But Mass shooting say a lot about the soceiety, country and how well we are making progress in overcoming loss of life.
Why I picked these datasets.
The US has witnessed 398 mass shootings in last 50 years that resulted in 1996 official deaths and 2488 official injured.I stumble upon these datasets while uploading my other two projects one of which Bostn Crime Boston Crime and another one is Cambridge Crime Analysis.I thought of implementing different tools and show different prespective than I used for those two projects. The anlaysis and the approach taken in this project is quite in different direction than those two. I hope you will see the difference and love the work. I have more focused on converying my story through graphs and visualisation than Exploratory analysis in this project.
How has the number of death folded over the years?
Before I would take you the analysis and journey of US mass Shootings. Lets take a moment to realise how each of the incidents have folded over the last 50 years.
When we break the Mass shootings over the decades. - In the 1980s, there were 30 mass shootings, with 173 deaths. - In the 1990s, the number was increased to 37, with some 200 fatalities and another 186 wounded. In the 2000s , the number were 33 such shootings, even as they became deadlier – 227 deaths.
Over the last few years has contributed a lot in increased number of Mass Shootings.The terrible numbers which keeps on growing with each mass shooting.The city, state, places have changed, but the numbers have gone more wider than heading any other directions, but one thing which stands out from each and everything is the choice of weapon which remains the same. In the United States, people who would think of commiting such a henious crime always prefer guns, not with knives and or any alternative form. So is it fair to say that Mass Murders that occurs quite often now a days has something to do with guns.
Breaking down the crime: shooter
When I looks at the 158 shootings in which four or more people were killed by a lone shooter (two shooters in a few cases).What I saw is that the people who were killed came from nearly every imaginable race, religion and socioeconomic background. Their ages range from the unborn to the elderly; 186 were children and teenagers. In addition, thousands of survivors were left with devastating injuries, shattered families and psychological scars.In some of the Mass Shootings,shooters often carried more than one weapon; one was found with 24. At least 175 of mass shooters’ weapons were obtained legally and 52 were obtained illegally. It’s unclear how 78 weapons were acquired till now to general public. Our question was not how these criminals get guns but what potential damage they can cause to society once they have such weapon.
Here is a list of the deadliest single day mass shootings in US history from 1949 to the present.I have only included the descriptions which involves atleast 10 death. I have included all these description in decreasing body count including the Parkland and Tree of Life synagogue in Pittsburgh which occured recently.
Click on each link to explore more
58 killed - October 1, 2017 - In Las Vegas, 64-year-old Stephen Paddock of Mesquite, Nevada, sprays gunfire on a crowd of 22,000 concertgoers from the 32nd floor of the Mandalay Bay Resort and Casino, killing 58 people and injuring almost 500. Witnesses say the gunshots last between 10 and 15 minutes. Officers breach Paddock’s hotel room to find him dead. Authorities believe Paddock killed himself and that he acted alone.
49 killed - June 12, 2016 - Omar Saddiqui Mateen, 29, opens fire inside Pulse, a gay nightclub, in Orlando. At least 49 people are killed and more than 50 are injured. Police shoot and kill Mateen during an operation to free hostages officials say he was holding at the club.
32 killed - April 16, 2007 - Virginia Tech in Blacksburg, Virginia. A gunman, 23-year-old student Seung-Hui Cho, goes on a shooting spree killing 32 people in two locations and wounding an undetermined number of others on campus. The shooter dies by suicide.
27 killed - December 14, 2012- Sandy Hook Elementary School - Newtown, Connecticut. Adam Lanza, 20, guns down 20 children, ages six and seven, and six adults, school staff and faculty, before turning the gun on himself. Investigating police later find Nancy Lanza, Adam’s mother, dead from a gunshot wound.
25 and an unborn child killed - November 5, 2017 - A gunman opens fire on a small church in Sutherland Springs, Texas, killing 25 people and an unborn child and wounding 20 others. The shooter, identified by two law enforcement sources as Devin Patrick Kelley, is found dead after a brief chase, but it’s unclear if it was self-inflicted.
23 killed - October 16,1991- In Killeen, Texas, 35-year-old George Hennard crashes his pickup truck through the wall of a Luby’s Cafeteria. After exiting the truck, Hennard shoots and kills 23 people. He dies by suicide.
21 killed - July 18,1984 - In San Ysidro, California, 41-year-old James Huberty, armed with a long-barreled Uzi, a pump-action shotgun and a handgun, shoots and kills 21 adults and children at a local McDonald’s. A police sharpshooter kills Huberty one hour after the rampage begins.
18 killed - August 1,1966 - In Austin, Texas, Charles Joseph Whitman, a former US Marine, kills 16 and wounds at least 30 at the University of Texas while shooting from a tower. Police officers Ramiro Martinez and Houston McCoy shoot and kill Whitman in the tower. Whitman had also killed his mother and wife earlier in the day.
17 killed - February 14,2018 - A former student unleashes a hail of gunfire at Marjory Stoneman Douglas High School in Parkland, Florida, killing at least 17 adults and children. Nikolas Cruz, 19, has been charged with 17 counts of premeditated murder.
14 killed - December 2, 2015 - Married couple Syed Rizwan Farook and Tashfeen Malik open fire on an employee gathering taking place at Inland Regional Center in San Bernardino, California, killing 14 people. 14 killed - August 20, 1986 - In Edmond, Oklahoma, Patrick Henry Sherrill, a part-time mail carrier armed with three handguns, kills 14 postal workers in 10 minutes and then takes his own life.
13 and an unborn child killed- November 5, 2009 - Maj. Nidal Malik Hasan kills 13 people and one unborn child and injures 32 at Fort Hood, Texas, during a shooting rampage. He is convicted and sentenced to death.
13 killed - April 3, 2009 - In Binghamton, New York, Jiverly Wong kills 13 people and injures four during a shooting at an immigrant community center. He then kills himself. 13 killed - April 20, 1999 - Columbine High School - Littleton, Colorado. Eighteen-year-old Eric Harris and 17-year-old Dylan Klebold kill 12 fellow students and one teacher before dying by suicide in the school library.
13 killed - February 18, 1983 - Three men enter the Wah Mee gambling and social club in Seattle, rob the 14 occupants and then shoot each in the head, killing 13. Two of the men, Kwan Fai Mak and Benjamin Ng, are convicted of murder in August 1983. Both are serving life in prison. The third, Wai-Chiu “Tony” Ng, after years on the run in Canada, is eventually convicted of first-degree robbery and second-degree assault. He is deported to Hong Kong in 2014.
13 killed - September 25, 1982 - In Wilkes-Barre, Pennsylvania, 40-year-old prison guard George Banks kills 13 people including five of his own children. In September 2011, the Pennsylvania Supreme Court overturns his death sentence, stating that Banks is mentally incompetent.
13 killed - September 5, 1949- In Camden, New Jersey, 28-year-old Howard Unruh, a veteran of World War II, shoots and kills 13 people as he walks down Camden’s 32nd Street using a German-crafted Luger pistol. He is found insane and is committed to a state mental institution. He dies at the age of 88.
12 killed - November 7, 2018 - Twelve people are killed in a shooting at the Borderline Bar & Grill in Thousand Oaks, California. Officials say the gunman, Ian David Long, shot an unarmed security guard outside the bar, then went in and continued shooting, injuring other security workers, employees and patrons.
12 killed - September 16, 2013 - Shots are fired inside the Washington Navy Yard, killing 12. The shooter, identified as Aaron Alexis, 34, is also killed.
12 killed - July 20, 2012 - Twelve people are killed, and 58 are wounded in a shooting at a screening of the new Batman film in Aurora, Colorado. James E. Holmes, 24, dressed head-to-toe in protective tactical gear, sets off two devices of some kind before spraying the theater with bullets from an AR-15 rifle, a 12-gauge shotgun and at least one of two .40-caliber handguns police recovered at the scene. On July 16, 2015, Holmes is found guilty on all 165 counts against him, 24 first-degree murder, 140 attempted murder and one count of possession or control of an explosive or incendiary device. He is sentenced to life in prison without parole.
12 killed - July 29, 1999 - In Atlanta, 44-year-old Mark Barton kills his wife and two children at his home. He then opens fire in two different brokerage houses, killing nine people and wounding 12. He later kills himself.
11 killed - October 27, 2018 - Eleven people are killed in a shooting at the Tree of Life synagogue in the Squirrel Hill neighborhood of Pittsburgh, PA. 46-year-old Robert Bowers surrendered to authorities on the third floor of the building and is now facing federal charges, including hate crimes. Bowers told told a SWAT officer while receiving medical care that he wanted all Jews to die and that Jews “were committing genocide to his people,” a criminal complaint filed in Allegheny County says.
10 Killed - May 18, 2018 - Dimitrios Pagourtzis, 17, allegedly walks into an art class and begins firing, killing 8 students and 2 teachers at Santa Fe High School in Santa Fe, Texas. Pagourtzis is arrested and charged with capital murder and aggravated assault of a public servant.
10 killed - March 10, 2009 - In Alabama, Michael McLendon of Kinston, kills 10 and himself. The dead include his mother, grandparents, aunt and uncle.
What were the choice of weapon during all these mass shootings?
Semiautomatic rifles have been used in some of the country’s deadliest shootings, such as those in Newtown, Orlando, San Bernardino and Las Vegas. The AR-15, a lightweight, customizable version of the military’s M16, soared in popularity after a 10-year federal ban on assault weapons expired in 2004. Some of the Las Vegas shooter’s guns had been fitted with legal devices called “bump-fire stocks,” which allow semiautomatic rifles to fire as quickly as automatic ones.
The gunman who killed 32 students and teachers at Virginia Tech in 2007 used a 9mm semiautomatic Glock 19 (and a .22-caliber Walther P22, another popular caliber).
Does all these Mass Shooters were tied with some sort of crimes?
Some of these mass shooters were known to have violent tendencies or criminal pasts. Others seemed largely fine until they attacked. All but 3 were male. The vast majority were between the ages of 20 and 49. More than half — 90 of them — died at or near the scene of the shooting, often by killing themselves.
Which Gender is more prone to commit such crime?
Between 1982 and November 19, 2018, 3 mass shootings were initiated by solo-female shooters. In contrast, 103 mass shootings were carried out by male shooters. The mass shooting in San Bernardino on December 2nd, 2016 was the only instance in which both a male and female were the shooters.
Males Males are dominant in such a henious crime.However, a look at mass shootings in the United States by gender shows a great majority of mass shootings are carried out by men. So far there were 103 Males involved in Mass shootings.
Female - The most recent female shooter was a Pakistani mother who helped kill 14 partygoers at her husband’s workplace in San Bernardino, Calif., in 2015. 3 Females have contributed till date.
Male/Female In one of the Mass shooting both Male and Female were involved.
Ex-Marine - The others are an ex-postal worker who killed a former neighbor and six employees at a Goleta, Calif., mail-processing facility in 2006; and a former tribal council chairwoman who killed her brother and three others during an eviction hearing in Alturas, Calif., in 2014.
Middle-schoolers Andrew Golden, 11, and Mitchell Johnson, 13, pulled a fire alarm to flush students and teachers out of their Jonesboro, Ark., middle school in 1998, and began shooting from a wooded perch nearby. They killed four girls and a teacher and wounded 10 others.
In the 50 years before the Texas tower shooting, there were just 25 public mass shootings in which four or more people were killed. Since then, the number has risen dramatically, and many of the deadliest shootings have occurred within the past few years.
What are the most frequemt place of such Crime?
Shootings in schools and houses of worship tend to stand out in our minds, but they make up a relatively small portion of public mass shootings. More common are those in offices and retail establishments such as restaurants and stores. California has had more of these public mass shootings than any other state, with 25.
Does Race play any role in Mass Shootings?
Between 1982 and November 2018, 60 out of 107 mass shootings were initiated by White shooters. The Las Vegas strip massacre in 2017 had the highest number of victims between 1982 and 2018, with 58 people killed, and over 500 injured.
Does Gender play any role in Mass Shootings?
Most men, of course, go through life without killing anyone. And motives for crime are very individual. Not all women and men who kill do so for the same reasons. Each case is seems unique which I found out after going through much of articles published in National dailies.
After a little history about the Mass shootings lets dive into our datasets to see whats there for us.
Load the data from source. In the datasets there are 5 different version uploaded by various users. After looking through each datasets in detail. I prefered to pick the 5th Version of datasets which is more relevant for analysis. Version 1 is limited with only 13 variables whereas rest of the datasets have 21 variables to begin with. Three more recent mass shootings have been added including the Texas Church shooting of November 5, 2017 in version 5.
Lets import all the necessary libraries which are needed for the data cleaning as well as data vizualizations.
First step is to clean the variable name so that it is easy to work with.
The dataset contains information about Mass shooting events, each identified by a unique Serial No. The dataset contains Serial No, Title, Location, Date, Summary, Fatalities, Injured, Total Victims, Mental Health Issue, Race, Gender, and Lat-Long information.All the variables are quite self explanatory.
| s_number | title | location | date | incident_area | open_close_location | target | cause | summary | fatalities | injured | total_victims | policeman_killed | age | employeed_y_n | employed_at | mental_health_issues | race | gender | latitude | longitude |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Texas church mass shooting | Sutherland Springs, TX | 11/5/2017 | Church | Close | random | unknown | Devin Patrick Kelley, 26, an ex-air force officer, shot and killed 26 people and wounded 20 at a church in Texas. He was found dead later in his vehicle. | 26 | 20 | 46 | 0 | 26 | NA | NA | No | White | M | NA | NA |
| 2 | Walmart shooting in suburban Denver | Thornton, CO | 11/1/2017 | Wal-Mart | Open | random | unknown | Scott Allen Ostrem, 47, walked into a Walmart in a suburb north of Denver and fatally shot two men and a woman, then left the store and drove away. After an all-night manhunt, Ostrem, who had financial problems but no serious criminal history, was captured by police after being spotted near his apartment in Denver. | 3 | 0 | 3 | 0 | 47 | NA | NA | No | White | M | NA | NA |
| 3 | Edgewood businees park shooting | Edgewood, MD | 10/18/2017 | Remodeling Store | Close | coworkers | unknown | Radee Labeeb Prince, 37, fatally shot three people and wounded two others around 9am at Advance Granite Solutions, a home remodeling business where he worked near Baltimore. Hours later he shot and wounded a sixth person at a car dealership in Wilmington, Delaware. He was apprehended that evening following a manhunt by authorities. | 3 | 3 | 6 | 0 | 37 | NA | Advance Granite Store | No | Black | M | NA | NA |
| 4 | Las Vegas Strip mass shooting | Las Vegas, NV | 10/1/2017 | Las Vegas Strip Concert outside Mandala Bay | Open | random | unknown | Stephen Craig Paddock, opened fire from the 32nd floor of Manadalay Bay hotel at Last Vegas concert goers for no obvious reason. He shot himself and died on arrival of law enforcement agents. He was 64 | 59 | 527 | 585 | 1 | 64 | NA | NA | Unclear | White | M | 36.18127 | -115.1341 |
| 5 | San Francisco UPS shooting | San Francisco, CA | 6/14/2017 | UPS facility | Close | coworkers | NA | Jimmy Lam, 38, fatally shot three coworkers and wounded two others inside a UPS facility in San Francisco. Lam killed himself as law enforcement officers responded to the scene. | 3 | 2 | 5 | 0 | 38 | 1 | NA | Yes | Asian | M | NA | NA |
Data Questions asked by Data Provider?
What were the questions that was proposed at the time of introducing these course.These question were directly taken from Kaggle websites.
There are some questions which can be answered with these data but there are some questions which need much more deep understanding from all the field even before we address those questions. Future prevention needs lots of attention from different fields and definetly making mass shooting guns harder to purchase can be option but its all upto the society and members of congress to address those concerns.
Lets extract some information about our datasets. Let's look at some missing data
## $data.frame
## name size
## 1 df_1 0.2 Mb
##
## $dimensions
## rows columns
## 1 323 21
##
## $column.details
## column unique.values missing.count missing.pct
## 1 s_number 323 0 0.00
## 2 title 322 0 0.00
## 3 location 227 45 13.93
## 4 date 290 0 0.00
## 5 incident_area 176 62 19.20
## 6 open_close_location 5 28 8.67
## 7 target 55 5 1.55
## 8 cause 17 77 23.84
## 9 summary 323 0 0.00
## 10 fatalities 25 0 0.00
## 11 injured 28 0 0.00
## 12 total_victims 35 0 0.00
## 13 policeman_killed 7 6 1.86
## 14 age 52 144 44.58
## 15 employeed_y_n 3 256 79.26
## 16 employed_at 37 282 87.31
## 17 mental_health_issues 5 0 0.00
## 18 race 18 2 0.62
## 19 gender 6 0 0.00
## 20 latitude 261 20 6.19
## 21 longitude 261 20 6.19
Our datasets is 0.2Mb in size. Most of the missing values are coming fron the shooters employement history. Data is not avaialable where shooter was employed.
Lets see if we have any duplicate data in our datasets. There are 323 unique serial number which corresponds to each unique incidents.
## No duplicate combinations found of: s_number
We don’t have any duplicate datasets. All the incident in our datasets are unique. Lets also see if our datasets are recorded in chronological order.
Lets take a quick look at our datasets. Peek a boo!!
## Observations: 323
## Variables: 21
## $ s_number <int> 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13...
## $ title <chr> "Texas church mass shooting", "Walmart sh...
## $ location <chr> "Sutherland Springs, TX", "Thornton, CO",...
## $ date <chr> "11/5/2017", "11/1/2017", "10/18/2017", "...
## $ incident_area <chr> "Church", "Wal-Mart", "Remodeling Store",...
## $ open_close_location <chr> "Close", "Open", "Close", "Open", "Close"...
## $ target <chr> "random", "random", "coworkers", "random"...
## $ cause <chr> "unknown", "unknown", "unknown", "unknown...
## $ summary <chr> "Devin Patrick Kelley, 26, an ex-air forc...
## $ fatalities <int> 26, 3, 3, 59, 3, 3, 5, 3, 3, 5, 5, 3, 5, ...
## $ injured <int> 20, 0, 3, 527, 2, 0, 0, 0, 0, 6, 0, 3, 11...
## $ total_victims <int> 46, 3, 6, 585, 5, 3, 5, 3, 3, 11, 5, 6, 1...
## $ policeman_killed <int> 0, 0, 0, 1, 0, NA, NA, 1, NA, NA, NA, 3, ...
## $ age <dbl> 26, 47, 37, 64, 38, 24, 45, 43, 39, 26, 2...
## $ employeed_y_n <int> NA, NA, NA, NA, 1, 1, 1, 1, NA, NA, NA, N...
## $ employed_at <chr> NA, NA, "Advance Granite Store", NA, NA, ...
## $ mental_health_issues <chr> "No", "No", "No", "Unclear", "Yes", "Uncl...
## $ race <chr> "White", "White", "Black", "White", "Asia...
## $ gender <chr> "M", "M", "M", "M", "M", "M", "M", "M", "...
## $ latitude <dbl> NA, NA, NA, 36.18127, NA, NA, NA, NA, NA,...
## $ longitude <dbl> NA, NA, NA, -115.13413, NA, NA, NA, NA, N...
Lets first clean up our data before we vizualise it. There are lot of variables that can be imputed as well we need to clean up the missing values as well as create new variables.
Lets see the map to get a sense Date
Lets start with date column. We will sepearte date column and create year,month,day, weekdays, day of week variables.According to the research, the days separating mass shooting occurrence went from on average 200 days during the period of 1983 to 2011 to 64 days since 2011.
Lets look at some of the severe Mass Shooting in USA history from our datasets. Datasets is up until last Las Vegas Shootings.
| title | location | total_victims.x | month | day | year | fatalities | injured |
|---|---|---|---|---|---|---|---|
| Las Vegas Strip mass shooting | Las Vegas, NV | 585 | 10 | 1 | 2017 | 59 | 527 |
| Orlando nightclub massacre | Orlando, Florida | 102 | 6 | 12 | 2016 | 49 | 53 |
| Aurora theater shooting | Aurora, Colorado | 82 | 7 | 20 | 2012 | 12 | 70 |
| Virginia Tech massacre | Blacksburg, Virginia | 55 | 4 | 16 | 2007 | 32 | 23 |
| University of Texas at Austin | Austin, Texas | 48 | 8 | 1 | 1966 | 17 | 32 |
| Texas church mass shooting | Sutherland Springs, TX | 46 | 11 | 5 | 2017 | 26 | 20 |
| Fort Hood Army Base | Fort Hood, Texas | 45 | 11 | 5 | 2009 | 13 | 32 |
| Luby’s Cafeteria in Killeen, Texas | Killeen, Texas | 43 | 10 | 16 | 1991 | 24 | 20 |
| McDonald’s restaurant in San Ysidro | San Ysidro, California | 40 | 7 | 18 | 1984 | 22 | 19 |
| Columbine High School | Littleton, Colorado | 37 | 4 | 20 | 1999 | 15 | 24 |
Like mass shootings in general, school shootings have gone from being a rare tragedy to a tragic reality. Already in 2018 there have been more than a dozen instances of gun violence in U.S. schools.We may be unsure where to even begin with such a heavy topic. Consider asking our kids what their questions are before you give our two cents.But, yet, there are many individuals who suffered childhood and adulthood traumas and severe abuse and they did not become rampage shooters. They developed healthy relationships with others. Are school shooters unable to develop healthy relationships with others?
Lets Look at the Total Fatalities Number over the course of year. Lets use Line graph and bar plot to show the
It is clear from above bar graph that shooting is increasing over the course of years. How does the Gender play a role in it?
We will basically sum up into 4 variables. Either the person is Male, Female, Male/Female or Unkown to keep our analysis simple.
Lets clean up the cause variables and aggregate into same bin which makes more sense to bucket in.
How many Mental Health cases do we know about shooters?
##
## No Unclear unknown Unknown Yes
## 93 13 1 110 106
What are the most common target place choosed by Shooters?
Where does Shooter prefer to choose as choice of their location?
We get additional error for 4 rows [147, 176, 225, 241]. Lets dive into those column and see why we are getting that error.
We can see in these 4 rows we have multiple comma to seperate thats why it throws an error. It took first comma to split into city and state. We can fix these by making seperate more friendly.
We can also find out how many unique values are there for any Location if State is NA:
But We know that Washington DC is not Considered as State. A state which is referred as “Taxation Without Representation”. Lets find out which column is it. We can ignore it or make a seperate state just for analysis.
| state | count | perc | “%” |
|---|---|---|---|
| California | 29 | 10 | % |
| Florida | 20 | 7 | % |
| Texas | 18 | 6 | % |
| Washington | 15 | 5 | % |
| Georgia | 13 | 5 | % |
| Arizona | 11 | 4 | % |
| North Carolina | 11 | 4 | % |
| New York | 10 | 4 | % |
| Ohio | 10 | 4 | % |
| Alabama | 9 | 3 | % |
California,Florida and Texas have the most shooters.
Now we are left with empty values in Location, and there are 45 of those. We can deal with those missing states with he use of Latitude and Longitude data which is avialable to us.But for these we can use google geocode variables but you need API for that.
For all these observations, Location is empty. But coordinates are given in Longitude and Latitude. This is one way to derive address from coordinates to further be used for filling State and City values:
| race | count | perc |
|---|---|---|
| White American or European American | 144 | 45 |
| Black American or African American | 85 | 26 |
| Unknown | 42 | 13 |
| Other | 24 | 7 |
| Asian or Asian American | 18 | 6 |
| Latino | 5 | 2 |
| Native American or Alaska Native | 3 | 1 |
| NA | 2 | 1 |
The statistic shows the number of mass shootings in the United States between 1982 and November 19, 2018, by race and ethnicity of the shooter(s). Between 1982 and November 2018, 60 out of 107 mass shootings were initiated by White shooters. The Las Vegas strip massacre in 2017 had the highest number of victims between 1982 and 2018, with 58 people killed, and over 500 injured.
Outer legends represents the White American or European American.
Is it fare to say that some other races are also participating in Mass Shooting beside Whites.
How has other races evolve in Mass Shootings. Lets look at the transition of our datasets.
You can hover over the plots to know the details
In 1960 Where Mass shooting was commited by White race.Over the course of year as more people are moving and coming of different race we can see their is variety of race participating in Mass Shootings but still the White American/ European American is still dominant.
Lets use the timeseries plot to know some basic understanding of how many people were injured and how many were dead based on variables Type of Victim. We need to reshape the data to pull out the Total Number of fatalities and injured. After reshaping our data in long format we can use plotly.
Number and type of casualties by year and month
## NULL
As we have one huge Las Vegas Shooting it’s really hard to see all others incidents that occured from 1965 till date. Once we remove the 2017 which can be considered as one of the outlier in the whole datasets. Lets see by removing this.
By visualizing year we could see recently towards the end there are lot of mass shooting that happen towards year 2012 and beyond. To diagnose even further we can use calendar plot function to see if there was a certain months where the mass shooting occured most or is throughout the year. Does calendar month, day have anything in common.
In year 2012 we haven’t seen more shootings but which occured in Sandy hook Elementary School was henious. From 2012-2014 it has spread across the board with no correlations at all. In year 2015 we can see Mass Shooting crime is happening more mostly in beginning of the year.In early months of 2016 we can see there are more incidents which has occured. Something definetly seems to happen in year 2016 which has caused less access to guns or guns law which creates huge spun and in the year 2017 we see less crime than recent previous years but one of the deadliest shooting in US history also happen in year 2017 October 2nd.
In Some of my previous work Exploratory data analysis I have got a chance to use leaflet to zoom iniside city geographical locations. I will try to use same function over here.
We will try to take our independent variable shooting and try to see if it has any dependent variables across the board.
On_duty fallen Officers
##
## 0 1 2 3 4 5
## 298 10 1 4 3 1
After cleaning the data we will try to explore our variables and relate it to shooting. Try to find if there exist any sort of relationship between shooting dependent variables and all these independent variables.
## Warning: Ignoring 2 observations
| mental_health_issues | count | perc | “%” |
|---|---|---|---|
| Unknown | 124 | 38 | % |
| Yes | 106 | 33 | % |
| No | 93 | 29 | % |
The number of shooters with and without mental issues do not differ much.
| cause | count | perc | “%” |
|---|---|---|---|
| psycho | 68 | 28 | % |
| terrorism | 65 | 26 | % |
| Anger and Fustration | 62 | 25 | % |
| Domestic Dispute | 13 | 5 | % |
| revenge | 10 | 4 | % |
| unemployement | 10 | 4 | % |
| racism | 6 | 2 | % |
| Other | 4 | 2 | % |
| suspension & Failing exams | 4 | 2 | % |
| unknown | 4 | 2 | % |
From the above observation most of the Mass Shootings happens either is Shooter is consider mentally retarded termed here as a psycho,some are related to terrorism and third one is because of lack of Anger and Frustation management. Out of top three crimes I believe third one could have been controlled if guns were not accessible to these persons.
| target | count | perc | “%” |
|---|---|---|---|
| Random | 140 | 44 | % |
| Friends & Family | 50 | 16 | % |
| School | 38 | 12 | % |
| Coworkers | 32 | 10 | % |
| Ex- GF/Wife | 17 | 5 | % |
| Police/Trooper | 14 | 4 | % |
| Other | 13 | 4 | % |
| Parties | 11 | 3 | % |
| Religious Group | 3 | 1 | % |
From the above bar graph we can conclude that Shooter doesnot seems to kill specific person when commiting large number of crimes which can be evident from Los Angeles Concert Mass Shootings. When the target is locked like schools, religious place church, parties the intention seems to just commit henious crime. People seems to loose their life more when its at random places as shooter starts to shoot in each and every possible directions.
| incident_area | count | perc | “%” |
|---|---|---|---|
| Home | 43 | 16 | % |
| Workplace | 8 | 3 | % |
| Home+School | 7 | 3 | % |
| Church | 5 | 2 | % |
| Club | 4 | 2 | % |
| street | 4 | 2 | % |
| Fort Hood Army Post | 3 | 1 | % |
| School | 3 | 1 | % |
| Shopping Mall | 3 | 1 | % |
| Apartment Complex | 2 | 1 | % |
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
| age | count | perc | “%” |
|---|---|---|---|
| 78.14525 | 144 | 45 | % |
| 14.00000 | 7 | 2 | % |
| 18.00000 | 7 | 2 | % |
| 34.00000 | 7 | 2 | % |
| 44.00000 | 7 | 2 | % |
| 15.00000 | 6 | 2 | % |
| 17.00000 | 6 | 2 | % |
| 19.00000 | 6 | 2 | % |
| 20.00000 | 6 | 2 | % |
| 37.00000 | 6 | 2 | % |
We have already seen in above analysis that 2015 and 2016 has seen an abnormal rise in shootings compare to last 50 years of data.
| year | count | perc | “%” |
|---|---|---|---|
| 2016 | 69 | 21 | % |
| 2015 | 67 | 21 | % |
| 2013 | 16 | 5 | % |
| 2012 | 15 | 5 | % |
| 2014 | 14 | 4 | % |
| 2007 | 10 | 3 | % |
| 2017 | 10 | 3 | % |
| 1993 | 9 | 3 | % |
| 2009 | 8 | 2 | % |
| 1999 | 7 | 2 | % |
Feb, Mar and Apr have witnessed the most shootings.
| month | count | perc | “%” |
|---|---|---|---|
| 2 | 53 | 16 | % |
| 3 | 42 | 13 | % |
| 4 | 34 | 11 | % |
| 12 | 29 | 9 | % |
| 1 | 28 | 9 | % |
| 10 | 24 | 7 | % |
| 8 | 22 | 7 | % |
| 11 | 22 | 7 | % |
| 5 | 19 | 6 | % |
| 6 | 18 | 6 | % |
| 7 | 16 | 5 | % |
| 9 | 16 | 5 | % |
The number of incidents have peaked during the month of feburary,March and april. The number of incidents seems to have peaked after 2010. Let us see which incident has lead to the maximum spike in the number of victims.
| day | count | perc | “%” |
|---|---|---|---|
| 7 | 21 | 7 | % |
| 6 | 20 | 6 | % |
| 1 | 16 | 5 | % |
| 19 | 16 | 5 | % |
| 20 | 15 | 5 | % |
| 21 | 14 | 4 | % |
| 24 | 14 | 4 | % |
| 29 | 14 | 4 | % |
| 9 | 12 | 4 | % |
| 12 | 12 | 4 | % |
| Weekday | count | perc | “%” |
|---|---|---|---|
| Thursday | 57 | 18 | % |
| Sunday | 53 | 16 | % |
| Friday | 51 | 16 | % |
| Wednesday | 46 | 14 | % |
| Monday | 43 | 13 | % |
| Saturday | 39 | 12 | % |
| Tuesday | 34 | 11 | % |
Seems like towards the end of the week there is more probability of happening Mass Shooting as more people are out of the house. Mostly Outgoers are towards the weekend.
Although there is frequent speculation about the mental health concerns of those who carry out the devastating acts, there is less conversation around whether the gender of the perpetrator is a larger issue.If you look at the motivation that we know about it does seem to be that men handle their catastrophic loss and self esteem worse than women.women who own a gun are more likely to have purchased it in later life, and more likely to say protection is the only reason they have it, not just one of the reasons for it.Women tend to see violence as a last resort, as a self-defence mechanism. You use violence if you have to, if there’s no other way out.
| gender | count | perc | “%” |
|---|---|---|---|
| Male | 292 | 90 | % |
| Unknown | 21 | 7 | % |
| Female | 5 | 2 | % |
| Male/Female | 5 | 2 | % |
Shootings happen more in Closed locations other than Open locations
## Warning: plotly.js does not (yet) support horizontal legend items
## You can track progress here:
## https://github.com/plotly/plotly.js/issues/53
| open_close_location | count | perc | “%” |
|---|---|---|---|
| Close | 197 | 61 | % |
| Open | 78 | 24 | % |
| NA | 28 | 9 | % |
| Open+Close | 20 | 6 | % |
Which mass Shoting has maximum fatalities?
Which month,year has seen more incidents ?
The only thing you will recognise is that the Las vegas shooting that happened in october in 2017 stands out extraordinary. Because of that, we can not tell anything alse. So, this lead me that, how about ploting every accidents apart from this shooting accident?
Removing the Las Vegas Outlier.
Datatable of Histrocal Shooting Accidents
You can search in search box
Future 2019. How has first weeks of 2019 has gone so far?
## ..
Conclusion: If you go with the raw numbers.According to the Gun Violence Archive, which compiles data from shooting incidents, a “mass shooting” is any incident in which a gunman shoots or kills four or more people in the same general time and location By that definition, according to the Gun Violence Archive, we have seen 307 mass shootings from January 1 to Decemeber. The five deadliest shootings in the US have occurred in roughly the past 10 years.From 1966 to 2012, nearly a third of the world’s mass shootings took place in the United States. A 2016 study looked at 292 incidents in which four or more people were killed. It found 90 of them occurred in America. Put another way: While the United States has about 5% of the world’s population, it had 31% of all public mass shootings.People have a greater chance of dying in mass shootings if they’re at school or place of business
Most shooters take their own lives, or are killed.About 70% of active shooter incidents end with the shooter or shooters’ deaths, according to the FBI. Unlike a homicide or mass killing, the “active” aspect implies that both law enforcement and citizens have the potential to affect the outcome of the event.
That averages to almost 7 mass shootings a week.
With the help of these datasets I tried to answer some basic questions. If we had multiple data source may be we could have done little better than these. Apart from implementing what I learnt from others I tried to present same with better vizualizations. Most of the analysis executive summary is presented in the beginning.
Thanks for reading.If you have any comments,suggestions I encourage you to write.Your comments are valuable for my future ways of analysis.
Those are the wikipedia links of each shooting accident. 1. Orlando nightclub massacre 2. Aurora theater shooting 3. Virginia Tech massacre 4. University of Texas at Austin 5. Texas church mass shooting
Reference for compiling these project.
Thank you for Reading the Post.Hope you enjoyed reading as much as “fun” I had making it.
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏