Elecciones 29N
Resultados provisionales de las elecciones generales del 29 de noviembre de 2026, Congreso y Senado, por comunidad, provincia, municipio y distrito, con los diputados electos y la comparación con 2023.
Why
The official results site makes it hard to dig into a single town or compare with the previous election. I wanted every result of the 29N election, down to each municipality and city district, in one fast site, plus the underlying data as clean, reusable files.
How
Python scripts extract the Interior Ministry’s provisional results PDF, match it with the INE municipality codes and the candidate lists published in the BOE, and validate every municipal sum against the provincial totals. An Astro site prerenders over 8,000 pages from that data and runs on Cloudflare Workers, where the only server code is the town search.
Technologies
AI used
Built with AI assistance (Claude Code), from parsing the PDF and the BOE lists and writing the validations to the design and the results pages.
