This dataset provides the resident population of the Canton of Basel-Stadt at the end of the year, broken down by city block. It includes counts and percentages of Swiss citizens, foreign nationals, and cantonal citizens for years ranging from 1998 to 2024. The data is aggregated at the block level, with a minimum threshold of 4 residents per unit for privacy.
This table is useful for high-resolution urban demographic analysis and studying migration patterns within Basel-Stadt. It does not include people registered at administrative addresses (e.g., KESB) and excludes spatial units with fewer than 4 residents to protect privacy.
34,534 rows · 18 columns · published by Statistisches Amt · licence: Open use, source must be named
Source file: https://data.bs.ch/api/v2/catalog/datasets/100062/exports/csv?use_labels=true · the dataset
| Column | Type | Description |
|---|---|---|
| Block ID | HEX_ID | Unique hexadecimal identifier for the city block. |
| Block Label | STRING | Text label for the block. |
| Statistical Unit ID | TEXT | Identifier for the statistical spatial unit. |
| District Name | TEXT | Name of the district, e.g., Burgviertel. |
| Unit ID Part 2 | TEXT | Secondary identifier for the statistical unit. |
| Residential Quarter Name | PLACE | Name of the residential quarter, e.g., Altstadt Grossbasel, DE. |
| City Name | TEXT | Name of the city (Basel). |
| Geometry (GeoJSON) | GEOMETRY_GEOJSON | The spatial boundary of the block in GeoJSON format. |
| Geographic Point | TEXT | The latitude and longitude coordinates of the block. |
| Year | INTEGER | The calendar year of the population count. |
| Percentage of Foreigners | FLOAT | The proportion of the population that are foreign nationals, as a percentage. |
| Percentage of Cantonal Citizens | FLOAT | The proportion of the population that are cantonal citizens, as a percentage. |
| Cantonal Citizens as % of Swiss | FLOAT | The percentage of Swiss citizens who hold cantonal citizenship. |
| Percentage of Swiss Citizens | FLOAT | The proportion of the population that are Swiss citizens, as a percentage. |
| Number of Foreigners | INTEGER | The absolute count of foreign residents. |
| Number of Cantonal Citizens | INTEGER | The absolute count of cantonal citizens. |
| Number of Swiss Citizens | INTEGER | The absolute count of Swiss residents. |
| Total Population | INTEGER | The total number of residents in the block. |
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.