Resident Population by Nationality and Block in Basel-Stadt

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

Columns

ColumnTypeDescription
Block IDHEX_IDUnique hexadecimal identifier for the city block.
Block LabelSTRINGText label for the block.
Statistical Unit IDTEXTIdentifier for the statistical spatial unit.
District NameTEXTName of the district, e.g., Burgviertel.
Unit ID Part 2TEXTSecondary identifier for the statistical unit.
Residential Quarter NamePLACEName of the residential quarter, e.g., Altstadt Grossbasel, DE.
City NameTEXTName of the city (Basel).
Geometry (GeoJSON)GEOMETRY_GEOJSONThe spatial boundary of the block in GeoJSON format.
Geographic PointTEXTThe latitude and longitude coordinates of the block.
YearINTEGERThe calendar year of the population count.
Percentage of ForeignersFLOATThe proportion of the population that are foreign nationals, as a percentage.
Percentage of Cantonal CitizensFLOATThe proportion of the population that are cantonal citizens, as a percentage.
Cantonal Citizens as % of SwissFLOATThe percentage of Swiss citizens who hold cantonal citizenship.
Percentage of Swiss CitizensFLOATThe proportion of the population that are Swiss citizens, as a percentage.
Number of ForeignersINTEGERThe absolute count of foreign residents.
Number of Cantonal CitizensINTEGERThe absolute count of cantonal citizens.
Number of Swiss CitizensINTEGERThe absolute count of Swiss residents.
Total PopulationINTEGERThe total number of residents in the block.

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.