Skip to content

Global-Conflicts/global-conflicts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualization of armed conflicts from Wikipedia

A web application for the bachelor's thesis on »Geospatial visualization of Wikipedia news reports about armed conflicts«

Screenshot

1. Demo

Visit the demo website at: global-conflicts.github.io

2. Setup

2.1 Frontend

Install npm and run:

cd frontend/
npm run dev

After that, the server is available under localhost:3000.

2.2 Data processing pipeline

The output of individual pipeline modules can be found in the the data/ folder.

If you want to compile the dataset on your own, install Python and run:

cd tools/
pip install -r requirements.txt

Next, this command scrapes data from Wikipedia and Wikidata and stores plain text files in a given folder:

python3 scraper.py 2022-02-20 | python3 parser.py | python3 extractor.py "Armed attacks and conflicts" "Armed conflicts and attacks" | python3 locator.py | python3 jsonifier.py ../frontend/src/data/incidents.json

The dataset can now be used by the frontend.

About

Visualizing global conflicts on a map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published