How nicolascent03-cpu/wdc-data-analysis-project-seminar works
This is a research-data project examining how democracy changes during and after armed conflict, including the role of arms imports. Its documented workflow prepares UCDP/PRIO, V-Dem and SIPRI data, merges them for analysis and charting, then presents results in a Streamlit app. The app excerpt currently loads cleaned CSVs and sets up page selection; its chart-panel files are mostly documented stubs. Notebook relationships below follow the README’s stated order and responsibilities, not inspected notebook code.
Main entry points: streamlit_app.py Streamlit pages · 07_charts.ipynb Chart development · 05_merge.ipynb Panel merge · panels_arms.py Arms charts
Components 19
Data preparation
- Setup check
notebooks/00_setup_check.ipynb - Country crosswalk
notebooks/01_crosswalk.ipynb - Conflict preparation
notebooks/02_ucdp.ipynb - Democracy preparation
notebooks/03_vdem.ipynb - Arms preparation
notebooks/04_sipri.ipynb - Panel merge
notebooks/05_merge.ipynb
Research data
- Country-year panel
data/clean/panel.csv - Event-time data
data/clean/event_time.csv - Cleaned CSV inputs
data/clean
Analysis and charts
- Research analysis
notebooks/06_analysis.ipynb - Chart development
notebooks/07_charts.ipynb - Regime and conflict charts
app/panels_conflict.py - Arms charts
app/panels_arms.py - Democracy and result charts
app/panels_analysis.py
Streamlit app
- Streamlit pages
app/streamlit_app.py - Country timelines
app/streamlit_app.py - Overview page
app/streamlit_app.py - Analysis page
app/streamlit_app.py
Other components
- Researcher
Connections 23
- Researcher → Setup check: checks setup
README.md - Setup check → Country crosswalk: precedes
README.md - Country crosswalk → Conflict preparation: precedes
README.md - Conflict preparation → Democracy preparation: precedes
README.md - Democracy preparation → Arms preparation: precedes
README.md - Arms preparation → Panel merge: precedes
README.md - Panel merge → Country-year panel: writes
README.md - Panel merge → Event-time data: writes
README.md - Research analysis → Event-time data: analyzes
README.md - Research analysis → Chart development: precedes
README.md - Researcher → Streamlit pages: opens
README.md - Streamlit pages → Cleaned CSV inputs: reads CSVs
app/streamlit_app.py - Streamlit pages → Regime and conflict charts: imports
app/streamlit_app.py - Streamlit pages → Country timelines: routes by page
app/streamlit_app.py - Streamlit pages → Overview page: routes by page
app/streamlit_app.py - Streamlit pages → Analysis page: routes by page
app/streamlit_app.py - Chart development → Regime and conflict charts: informs functions
- Chart development → Arms charts: informs functions
- Chart development → Democracy and result charts: informs functions
- Country timelines → Arms charts: uses charts
- Country timelines → Democracy and result charts: uses charts
- Overview page → Arms charts: uses trends
- Analysis page → Democracy and result charts: uses result chart