GeoPulse
Global activity monitor over ~49M GDELT events: activity map, highlighted events and per-country summaries

GeoPulse ingests GDELT event data into PostgreSQL, derives per-country activity features, and serves them through a FastAPI backend to a Streamlit dashboard. It provides a country-level activity index; a ~49M-event actor-interaction graph (countries, actors, locations, events, event-actor links) with CAMEO event codes mapped to interaction types (cooperation, consultation, conflict); and a Global Intelligence view built on that graph: an activity heatmap, a highlighted-events feed that keeps media attention, Goldstein magnitude and country-day activity spikes as three independent signals, and per-country summaries with interaction mix and top counterparts. The graph is migrated from PostgreSQL into Neo4j with an idempotent, keyset-paginated loader whose verification pass reconciles node and relationship counts against Postgres exactly across all seven types (79.6M actor-event relationships).
What it does
- PostgreSQL event-graph pipeline over ~49M GDELT events (countries, actors, locations, events, event-actor links), CAMEO codes mapped to interaction types
- Idempotent Postgres → Neo4j migration (keyset pagination, MERGE upserts) with a verification pass that reconciles every node and relationship type
- Highlighted-events feed with three independent signals per event: media attention (mentions), Goldstein magnitude, and a country-day activity spike vs a trailing 30-day baseline
- Activity index computed by one tested scoring class with a coverage-based confidence value
- FastAPI backend over the Postgres graph (/global, /country, /intelligence); 3-page Streamlit dashboard with activity map, country drilldown and a 3-tab Global Intelligence view
Pipeline
- 1GDELT Daily Event Exports
- 2PostgreSQL graph.* (events, actors, locations, event-actor edges)
- 3Neo4j (optional copy, exactly reconciled)
- 4FastAPI (/global, /country, /intelligence)
- 5Streamlit (3 pages: activity map, drilldown, global intelligence)
Results
| Postgres → Neo4j reconciliationall 7 node/relationship types, 79.6M edges, zero drift | Exact match |
|---|