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, gender, and citizenship (Swiss or Foreign). 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 and citizenship at the neighborhood level. It does not contain data on non-resident populations 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/csv?use_labels=true · the dataset
| Column | Type | Description |
|---|---|---|
| Date | DATE | The reference date for the data, typically the end of the year. |
| Year | INTEGER | The calendar year of the observation. |
| Residential Quarter | TEXT | The name of the residential quarter, such as Vorstädte or Wettstein. |
| Quarter ID | TEXT | The unique identifier for the residential quarter. |
| Municipality | TEXT | The municipality name, e.g., Basel. |
| Gender Code | STRING | Short code for gender (e.g., M for Male, W for Female). |
| Age | INTEGER | The age of the population group 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 | TEXT | 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 | TEXT | Full name of the citizenship (e.g., Schweiz, Ausland). |
| 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.