This project use the information of more than 180,000 Terrorist Attacks from the Global Terrorism Database (GTD). The Global Terrorism Database (GTD) is 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. More Information
- Clone the repository:
$ git clone https://github.com/toanchitran/terrorismEDA.git
$ cd terrorism
- Install dependencies:
$ pip install -r requirements.txt
- Download the file terrorism.csv at https://drive.google.com/file/d/1WguiiP5qRVNtC3SwonorFvmBTC3msdlT/view?usp=sharing and add to root folder of terrorism
- Start the application:
streamlit run app.py
- Main app: app.py
- In app folder:
- home.py for the Human loss and property loss page
- hostage.py for Hostage and ransom page
- country.py for the Country report
- region.py for the Region report
In case taht you would like to add more page / analysis report to the app, please follow:
- Write your new_app.py and save it to folder
apps/
# apps/new_app.py
import streamlit as st
def app():
st.title('New App')
- Now, add it to
app.py
from apps import newapp # import your app modules here
app = MultiApp()
# Add all your application here
app.add_app("New App", newapp.app)