CatalàEspañolEnglishالعربية

Transparency and reuse

Open data

Structured files of available Premià de Mar data, with sources for each record.

Open data · API and widgets

View the public API, documentation and integration examples.

Public API ↗

Downloads

TypeElectionsWith breakdownFormats
Municipal elections12 elections, 1979–2023, with votes and councillors by candidacy. Some early records require documentary verification.1212 / 12
Regional elections14 elections to the Parliament of Catalonia (1980–2024), with Idescat totals and candidacy breakdowns according to each record's status.1414 / 14
General elections17 general elections · 1977–20261717 / 17
European electionsNine elections, 1987–2024, with candidacy breakdowns.99 / 9

The JSON files are portal snapshots, not an official API. Data not yet imported cannot be downloaded here. Respect each original source's reuse terms.

Documented sources

Official statistics

Idescat · Congrés, dades generals

Published annual series, not necessarily every election. Published percentages are retained; the portal calculates turnout from the electorate and voters for each record.

Election results publication

El País · Municipals 2023 i 2019

Electorate calculated as votes cast plus abstentions; arithmetic verification of the total votes and 21 councillors.

Municipal archive

Ajuntament · Municipals 2023

Election day archive and links to results. The electorate in the municipal update does not exactly match the published count.

Election results publication

Público · Europees 2024

2024 votes by candidacy; percentages recalculated on valid votes including blank votes.

Publication of ministry data

Dato Electoral · Sèrie municipal

Electorate, valid, blank and invalid votes from the municipal series; voters equal valid plus invalid votes.

Municipal count

Ajuntament de Premià de Mar · Escrutini municipal 29N

Count from all 34 polling stations according to municipal documents. Official declaration of definitive results pending. Resident electorate (CER); overseas votes (CERA) are not included. Each election retains its documented candidate abbreviations.

Methodology

Municipal polling station set-up, electorate and turnout updates are published when verified data are available, with the source and portal publication time. Turnout updates refer to resident voters. The 2023 reference comes from the Ministry of the Interior via Generales29N / Color Vivo. Missing data are shown as dashes. Provincial data are not extrapolated to the municipality.

For live data from 29n.voto (Count.vote), provisional Ministry of the Interior data are imported from the municipal cumulative count; count progress is based on the electorate, not polling stations. Source groupings of candidacies are retained. Simulations are not imported. Source legal notice.

The portal retains the counts in each record and identifies the source documents. It recalculates turnout as voters / electorate and vote share as candidacy votes / (voters − invalid votes). Available original Idescat percentages are retained in the JSON for reference.

The archive includes 51 historical elections across four types. “With breakdown” identifies elections with candidacy-level data; it does not certify every count officially. Where absolute counts are missing, published percentages are retained and missing data are displayed as dashes, never zeros. Media-reported results are identified; known discrepancies are flagged and require official verification.

Embedding on the municipal website

The embedded view contains live election data only, without navigation or footer.

Open embedded view
<iframe src="https://eleccions.pdm.cat/embed/?lang=en" title="Premià de Mar election results" style="width:100%;height:850px;border:0" loading="lazy"></iframe>