Deloitte: Exploring Global Terrorism Database incident records from 1970–2017 to uncover patterns, insights, and key questions.
Imagine you are a security or defense analyst. Analyze the data and draw conclusions on the distribution and nature of terrorist incidents recorded around the world. In your analysis, include maps that visualize the location of different incidents. Your analysis may also provide answers to the following questions:
You are also free to explore the data further and extract additional insights other than the questions above.
The provided compressed file globalterrorismdb_0718dist.tar.bz2 is an extract from the Global Terrorism Database (GTD) - an open-source database including information on terrorist attacks around the world from 1970 through 2017. The GTD includes systematic data on domestic as well as international terrorist incidents that have occurred during this time period and now includes more than 180,000 attacks. The database is maintained by researchers at the National Consortium for the Study of Terrorism and Responses to Terrorism (START), headquartered at the University of Maryland.
Since the number of variables and instances is very large, for this project, feel free to select a subset of columns or a specific timeframe.
Explanation of selected columns:
success - Success of a terrorist strikesuicide - 1 = "Yes" The incident was a suicide attack. 0 = "No" There is no indication that the incident was a suicideattacktype1 - The general method of attackattacktype1_txt - The general method of attack and broad class of tactics used.targtype1_txt - The general type of target/victimtargsubtype1_txt - The more specific target categorytarget1 - The specific person, building, installation that was targeted and/or victimizednatlty1_txt - The nationality of the target that was attackedgname - The name of the group that carried out the attackgsubname - Additional details about group that carried out the attack like fractionsnperps - The total number of terrorists participating in the incidentweaptype1_txt - General type of weapon used in the incidentweapsubtype1_txt - More specific value for most of the Weapon Typesnkill - The number of total confirmed fatalities for the incidentnkillus - The number of U.S. citizens who died as a result of the incidentHint
The provided .tar.bz2 file is a compressed CSV file. Its contents can be loaded to a Pandas DataFrame using the read_csv() method from the Pandas library as follows:
df = pd.read_csv("globalterrorismdb_0718dist.tar.bz2", compression="bz2")
Analyze the provided data and answer the questions to the best of your abilities. Include the relevant tables/graphs/visualization to explain and support your findings. Make sure that the solution reflects your entire thought process including the preparation of data - it is more important how the code is structured rather than just the final result or plot. You are expected to spend no more than 1-3 hours on this project.