Resident Population of Basel-Stadt by Quarter, Age, Gender, and Citizenship

This dataset provides annual counts of the resident population in the Canton of Basel-Stadt. Each row represents the number of people (anzahl) for a specific combination of residential quarter (wohnviertel), age (person_alter), gender (geschlecht), and citizenship (staatsangehoerigkeit). The data covers the period from 1979 to 2022, based on the cantonal residents' register.

This table is useful for detailed demographic analysis and urban planning within Basel-Stadt. It allows for granular filtering by age, gender, and nationality at the neighborhood level. It does not contain socio-economic data such as income, employment status, or specific nationalities beyond the Swiss/Foreign distinction.

370,615 rows · 13 columns · published by Statistisches Amt · licence: Open use, source must be named

Source file: https://data.bs.ch/api/v2/catalog/datasets/100128/exports/parquet · the dataset

Columns

ColumnTypeDescription
DateDATEThe reference date for the data, typically December 31st.
YearINTEGERThe calendar year of the observation.
Residential QuarterTEXTThe name of the residential quarter, e.g., Vorstädte or Wettstein.
Quarter IDTEXTThe unique identifier for the residential quarter.
MunicipalityPERSON_NAMEThe municipality name, such as Basel.
Gender CodeSTRINGShort code for gender (e.g., M for Male, W for Female).
AgeINTEGERThe age of the individuals in years.
Citizenship CodeTEXTShort code for citizenship (e.g., CH for Switzerland, A for Foreign).
BFS Gender ValueINTEGERNumerical code for gender according to the Federal Statistical Office (BFS).
Gender NamePERSON_NAMEFull name of the gender (e.g., Mann, Frau).
BFS Citizenship ValueINTEGERNumerical code for citizenship according to the Federal Statistical Office (BFS).
Citizenship NameTEXTFull name of the citizenship (e.g., Schweiz, Ausland).
Population CountINTEGERThe number of residents matching the specified criteria.

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.