Swissvotes – risultati delle votazioni federali per Cantone
swissvotes-cantons
- Editore
- Année politique suisse, University of Bern
- Modalità di accesso
csv- Punto di accesso
- https://swissvotes.ch/page/dataset/swissvotes_dataset.csv
- Licenza
- CC BY 4.0 (Creative Commons Attribution 4.0 International) — attribution "Swissvotes – die Datenbank der eidgenössischen Volksabstimmungen. Année Politique Suisse, Universität Bern. www.swissvotes.ch"
- Copertura
- Territorio cantons (26; Jura from 1979) · dal 1848-09-12 · al 2026-09-27
- Lacune
- Cantonal yes shares and turnout are empty in swissvotes for the votes since 9 June 2024 (anr 667 onwards on 2026-10-31); for those votes the dataset has the cantonal majorities only. The BFS publishes them in its open data "Echtzeitdaten am Abstimmungstag"; they are fetched as bfs-vote-results (from 2024-03-03), which the canton pages use where this dataset has no share. Turnout is not available for the 19th-century votes, yes shares are not available for vote 1 (1848). Vote counts (yes, no, valid, entitled to vote) stay in the raw dataset.
- Usato in
- AGORA-22, STORY-09
- Limiti noti
- swissvotes compiles the cantonal results from the BFS (STAT-TAB). Three published shares do not match the published majority at one decimal (anr 126.2 NE 48.37 % with a yes majority, anr 311.1 GR 49.98 % with a yes majority, anr 615 BE 50.00 % with a yes majority); values are kept as published. Before 1979 the canton of Bern includes today's canton of Jura; before 2026 Moutier votes in Bern. From 1874 the cantonal popular majority is the canton's vote for the majority of the cantons (codebook); half cantons count half there.
- Verifica
- verification date: 2026-10-31 · method: Fetched the dataset from swissvotes.ch. Compared anr 665 (Initiative für eine 13. AHV-Rente, 03.03.2024) with the BFS open-data result file of that voting day (vorlagenId 6650) — Zurich 295 601 yes, 271 914 no, 52.086905192 % yes, turnout 58.892003366 %, the same counts and shares as swissvotes (zh-ja 295601, zh-nein 271914, zh-japroz 52.09, zh-bet 58.89); Geneva 75.47 % and Jura 82.54 % also agree. · checkedValue: anr 665, ZH: zh-japroz 52.09 (yes_pct 52.1), zh-bet 58.89 (turnout 58.9) · checkedAgainst: https://ogd-static.voteinfo-app.ch/v1/ogd/sd-t-17-02-20240303-eidgAbstimmung.json
- File elaborato
- data/processed/swissvotes-cantons.csv
Quanto sono aggiornati questi dati?
- Attualità
- Consultazione non riuscita
Le consultazioni automatiche non hanno potuto leggere la fonte più volte di seguito, oppure non riescono da più tempo del previsto. I dati mostrati risalgono all’ultima consultazione riuscita.
- Periodo coperto
- Non è una serie temporale
- Ultima modifica dei dati
- Ultima consultazione della fonte
- Frequenza di aggiornamento
- Dopo ogni domenica di votazione
Nota del registro (in inglese): After each voting Sunday (swissvotes adds the cantonal shares later than the national result, see gaps).
- Votara consulta la fonte
- Ogni giorno
Lo stato è calcolato a ogni generazione del sito; questa pagina lo mostra al . Risultati dei controlli
Fasi di elaborazione
- Download the semicolon-separated UTF-8 CSV (BOM, CRLF), parse it with the hand-rolled RFC 4180 parser and read, for each of the 26 cantons, the codebook variables <canton>-japroz, <canton>-bet and <canton>-annahme (codebook pp. 36–37). Script: scripts/fetch/swissvotes-cantons.ts
- canton = abbreviation in upper case (ZH … JU), in BFS order; anr copied as published (join with the swissvotes entry for date, titles, type and national result).
- yes_pct = <canton>-japroz (share of yes votes in the valid ballots, %) and turnout = <canton>-bet (%), rounded half-up from two to one decimal like the national yes_pct; "." or empty becomes empty. For tie-breakers yes_pct is the share preferring the popular initiative (codebook).
- majority = <canton>-annahme: 0 no, 1 yes, 8 prefer_counter, 9 prefer_initiative (tie-breakers); "." becomes empty. Any other code fails the fetch.
- A row is written for each vote and canton with at least one value; scheduled votes (no result yet) and Jura before 1979 have none and are left out. Rows sorted by vote number, then canton.