Skip to content

medialab/GeoPolHist

Repository files navigation

GeoPolHist dataset

World Geo-Political entities sovereign status from 1816 to 2020.

  • ./data : the data set in CSV and python (3) scripts to aggregate
  • ./datapackage.json : documentation of the data set
  • ./src : source code of the visualisation web application

DOI

Use the visualisation tool

Visit http://medialab.github.io/GeoPolHist. Or follow this instructions to use locally.

prepare data

cd data
# aggregate the dataset to prepare sankey diagram data
python3 aggregate_GeoPolHist.py
# copy dataset in the visualisation application
python3 deploy_data_in_viz.py

install deps

You need node and npm to be installed.

npm install

run locally

npm run start

deploy on github pages

You need to write rights on the origin repository

npm run deploy