Aller au contenu
Sources officielles et scientifiques Vérifié

Population résidante permanente par commune (STATPOP)

bfs-commune-population

Éditeur
OFS/BFS
Mode d'accès
api
Identifiant du tableau
CH1.STATPOP/DF_STATPOP_NATCAT_SEX_AGE_GEO 1.0.0
Licence
opendata.swiss terms of use "terms_by": "Open use. Must provide the source."
Couverture
Territoire communes (commune state of the dataflow's codelist, 2025 on 2026-10-31) · referenceDay 31 December · de 2010 · à 2025
Lacunes
Only two years are kept — 2010 (first STATPOP year) and the latest year; the dataflow has every year 2010–latest. No commune data before 2010 in this dataflow.
Utilisé dans
STORY-09, AGORA-20, AGORA-22
Limites connues
Permanent resident population on 31 December (BFS definition, incl. persons in the asylum process with at least 12 months of residence). Small communes have small numbers; growth rates on them are volatile.
Vérification
verification date: 2026-10-31 · method: Fetched from stats.swiss (DF_STATPOP_NATCAT_SEX_AGE_GEO). The 2115 communes of 2025 add up to 9 127 125 persons, the national value of the same dataflow and of bfs-population-historic, which matches the BFS press release of 20.08.2026 ("9 127 100 Personen", rounded to the hundred). · checkedValue: Σ communes 2025 = 9127125 (press release: 9 127 100); 261 Zürich 2025 = 440935 · checkedAgainst: https://dam-api.bfs.admin.ch/hub/api/dam/assets/36680491/master

Ces données sont-elles à jour ?

Fraîcheur
À jour

Selon son rythme de mise à jour, aucune édition plus récente n’est encore attendue.

Période couverte
2010–2025
Dernière modification des données
Dernière consultation de la source
Rythme de mise à jour
Annuel

Note du registre (en anglais) : Yearly; definitive results in late August (2025 data on 20.08.2026).

Votara consulte la source
Chaque semaine, et chaque jour de 3 jours avant à 14 jours après une date de publication annoncée

L’état est calculé à chaque construction du site ; cette page le montre au . Résultats des contrôles

Étapes de traitement

  1. SDMX-CSV requests: national series (8100._T._T._T.A) to find the latest year, then all units for 2010 and for the latest year (key ._T._T._T.A, totals over citizenship, age class and sex). Rows with numeric GEO codes other than 8100 are communes; cantons (ZH…) and districts (B_…) are dropped. Script: scripts/fetch/bfs-commune-population.ts
  2. Values copied as published (persons). The fetcher warns if the communes of a year do not add up to the national total (they do for 2010 and 2025).
  3. The dataflow presents all years on the same (2025) commune state, so both years are comparable per bfs_number. To join with the current register (bfs-communes), map old numbers through bfs-commune-mutations (1.1.2026: six communes abolished by mergers, Moutier renumbered 700 → 6831).