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
| Column | Type | Description |
|---|---|---|
| Date | DATE | The reference date for the data, typically December 31st. |
| Year | INTEGER | The calendar year of the observation. |
| Residential Quarter | TEXT | The name of the residential quarter, e.g., Vorstädte or Wettstein. |
| Quarter ID | TEXT | The unique identifier for the residential quarter. |
| Municipality | PERSON_NAME | The municipality name, such as Basel. |
| Gender Code | STRING | Short code for gender (e.g., M for Male, W for Female). |
| Age | INTEGER | The age of the individuals in years. |
| Citizenship Code | TEXT | Short code for citizenship (e.g., CH for Switzerland, A for Foreign). |
| BFS Gender Value | INTEGER | Numerical code for gender according to the Federal Statistical Office (BFS). |
| Gender Name | PERSON_NAME | Full name of the gender (e.g., Mann, Frau). |
| BFS Citizenship Value | INTEGER | Numerical code for citizenship according to the Federal Statistical Office (BFS). |
| Citizenship Name | TEXT | Full name of the citizenship (e.g., Schweiz, Ausland). |
| Population Count | INTEGER | The number of residents matching the specified criteria. |
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.