Swiss Federal Population Census by Commune (1850-2020)

This dataset contains historical population census data for Swiss communes from 1850 to 2020. Each row represents a specific population measure for a commune, including the total resident population. It provides geographic dimensions at the commune, district, and canton levels.

This table is useful for longitudinal demographic analysis and studying the historical growth of Swiss municipalities. It does not contain detailed socio-economic indicators beyond the basic population measures provided in the 'Unité' column.

1,297,502 rows · 12 columns · published by Federal Statistical Office · licence: Open use, source must be named

Source file: https://dam-api.bfs.admin.ch/hub/api/dam/assets/32067221/master · the dataset

Columns

ColumnTypeDescription
YearINTEGERThe year of the census observation.
Commune NumberINTEGERUnique identification number for the commune.
Commune NamePLACEThe name of the commune.
District NumberINTEGERUnique identification number for the district.
District NameTEXTThe name of the district.
Canton NumberINTEGERUnique identification number for the canton.
Canton AbbreviationPLACEThe short code for the canton (e.g., ZH for Zürich).
Canton NamePLACEThe full name of the canton.
Historization NumberINTEGERA number used to track changes in administrative boundaries over time.
Measure UnitTEXTThe specific population characteristic being measured, such as 'Population résidante - Total'.
CountINTEGERThe numerical value of the population measure.
Observation StatusSTRINGThe status code of the observation (e.g., 'A').

Questions it answers

Query it in SQL · API · Use it from an AI agent (MCP) · More tables

Cleaned and typed by Data Cleaner: open this file in Data Cleaner or clean your own file.