Data visualization application for ACLED (Armed Conflict Location & Event Data).
Explore events through an interactive map, brushable timeline, and dynamic faceted filters.
# Copy env files
cp .env.example .env
cp api/.env.example api/.env
cp client/.env.example client/.envConfigure database connection in root .env: POSTGRES_DB, POSTGRES_USER, and POSTGRES_PASSWORD.
# Start development environment
make dev- Access web app: http://localhost:5173
- Browse API documentation: http://localhost:8000/api/doc
| Command | Description |
|---|---|
make dev |
Start development environment |
make api |
Rebuild and restart API services |
make clean |
Clean generated files and remove volumes |
- Source: Data Export Tool (research-level access required)
- Documentation: ACLED Codebook
- Export data with all output options unchecked
- Place CSV files in
/data/incoming/— the ingestion service processes them automatically:- Events are normalized and inserted into PostgreSQL with PostGIS geometry
- Duplicates are handled via
acled_idunique constraint (updates only if timestamp is newer) - Processed files are archived to
data/archived/with timestamp
- Event IDs: The API uses ACLED's official identifiers (
acled_idlike "FRA37186"), not database internal IDs
This project is licensed under the Apache License 2.0.