Swiss Federal Population Census 2020 by Commune

This table provides demographic data for the year 2020 at the commune level in Switzerland. It includes measures of the permanent resident population, broken down by nationality, age groups, and gender. The data is further categorized by district and canton.

This table is useful for detailed demographic analysis of Swiss communes, including age and gender structures. It does not contain data for years other than 2020 (which are in other sheets of the original workbook) nor does it provide socio-economic data like income or employment.

2,198 rows · 32 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/appendix · the dataset

Columns

ColumnTypeDescription
YearINTEGERThe census year, which is 2020 for this table.
Commune NumberINTEGERUnique identification number for the commune.
Commune NameTEXTThe name of the Swiss commune.
Total Permanent Resident PopulationINTEGERTotal number of permanent residents in the commune.
Swiss NationalsINTEGERNumber of residents with Swiss nationality.
Foreign NationalsINTEGERNumber of residents with foreign nationality.
Age 0-14INTEGERNumber of residents aged 0 to 14 years.
Age 15-19INTEGERNumber of residents aged 15 to 19 years.
Age 20-39INTEGERNumber of residents aged 20 to 39 years.
Age 40-59INTEGERNumber of residents aged 40 to 59 years.
Age 60-64INTEGERNumber of residents aged 60 to 64 years.
Age 65+INTEGERNumber of residents aged 65 years and older.
Total MenINTEGERTotal number of male residents.
Men Age 0-14INTEGERNumber of males aged 0 to 14 years.
Men Age 15-19INTEGERNumber of males aged 15 to 19 years.
Men Age 20-39INTEGERNumber of males aged 20 to 39 years.
Men Age 40-59INTEGERNumber of males aged 40 to 59 years.
Men Age 60-64INTEGERNumber of males aged 60 to 64 years.
Men Age 65+INTEGERNumber of males aged 65 years and older.
Total WomenINTEGERTotal number of female residents.
Women Age 0-14INTEGERNumber of females aged 0 to 14 years.
Women Age 15-19INTEGERNumber of females aged 15 to 19 years.
Women Age 20-39INTEGERNumber of females aged 20 to 39 years.
Women Age 40-59INTEGERNumber of females aged 40 to 59 years.
Women Age 60-64INTEGERNumber of females aged 60 to 64 years.
Women Age 65+INTEGERNumber of females aged 65 years and older.
District NumberINTEGERUnique identification number for the district.
District NameTEXTThe name of the district.
Canton NumberINTEGERUnique identification number for the canton.
Canton AbbreviationSTRINGThe abbreviation of the canton.
Canton NameTEXTThe name of the canton.
Historization NumberINTEGERNumber used for tracking changes in administrative boundaries over time.

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.