How datosbolivia/elecciones2025 works
Project type and purpose
• Type: A data-driven, static site project. It ingests raw geographic and historical election data, runs ETL scripts to produce JSON/GeoJSON outputs, and publishes a client-side visualization (built with ObservableHQ/Node.js).
• Purpose: Provide up-to-date and historical election results for Bolivia (2025), combining geo-data, tabular results, and interactive charts/maps.
File structure
• Top-level directories
• .github/workflows: CI/CD pipelines to “actualizar” (update) data and “publicar” (publish) the site
• geo: raw geographic packages (.gpkg) for 2020 & 2025 plus a Jupyter notebook (geoelectoral.ipynb)
• resultados/datos: Python ETL scripts (actualizar.py, preparar.py) plus subfolders holding CSVs, GeoJSON, and a consolidated resultados.json
• resultados/vista: front-end code (Node.js + ObservableHQ config) with markdown, images, and package.json
• resultados_historicos: Parquet files for elections from 1979–2020 and a Jupyter atlas notebook
• Patterns & considerations
• ETL pipeline implemented in Python
• Static-site generation / Single-Page-App for visualization
• CI/CD driven by GitHub Actions
README
• Confirms: “Elecciones generales 2025 en Bolivia”
• No in-depth architecture, so rely on structure to infer pipeline phases.