johnfkraus / un-sanctions

Directed graph of UN Sanctions data using Python, bokeh, networkx in Jupyter notebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

un-sanctions

Status: work in process.

Steps:

  1. Convert public XML file into a Pandas dataframe.

  2. Parse the comments for reference numbers. Use the reference numbers to map sources (individuals, entities) to targets (other individual, entities).

  3. Render a directed graph to show the relationships.

TODO:

Add interactive legend. https://docs.bokeh.org/en/latest/docs/user_guide/annotations.html

Notes:

Converted consolidated-202303.xml to consolidated-202303.json using https://codebeautify.org/xmltojson. Also, converted xml to csv using same website.

About

Directed graph of UN Sanctions data using Python, bokeh, networkx in Jupyter notebook


Languages

Language:Jupyter Notebook 51.2%Language:HTML 48.8%Language:Python 0.0%Language:JavaScript 0.0%Language:CSS 0.0%