Coronavirus (COVID-19): Tests Basel-Stadt (OGD)
Kanton Basel-Stadt
This dataset shows the number of SARS-CoV-2 tests carried out on persons resident in the canton of Basel-Stadt, together with the corresponding test results (positive/negative), separated by PCR test and rapid antigen test, on a daily basis. The data were provided daily by the Federal Office of Public Health (FOPH/BAG) in the COVID-19 situation report or via its API. Figures for Friday, Saturday and Sunday were updated by the FOPH each Monday. The collection of the number of SARS-CoV-2 tests was suspended as of 16 January 2023. The dataset is no longer updated. Figures for all cantons as well as for Switzerland as a whole and the Principality of Liechtenstein can be found in this dataset: https://data.bs.ch/explore/dataset/100116/
How to get the data
The TDO shows no live figures for this dataset. This is the route to the data at its publisher.
The publisher lists 3 files and services for this dataset: no key needed.
- Choose the format you need from the list below: CSV or XLSX for tables, the services for maps and GIS.
- The publisher states no licence: ask it before reuse.
- 100094.json ↗JSON file
- 100094.xlsx ↗XLSX file
- 100094.csv ↗CSV file
- The publisher's page ↗Web page
The 17 fields of the MVP definition
The minimum metadata fields of the TDO MVP Definition v2, section 4, in its order. The prototype holds 17 of them. Which are mandatory is for the Swiss FSO and the I14Y team to settle.
| No. | Field | Value | Where it came from |
|---|---|---|---|
| F1 | Title | Coronavirus (COVID-19): Tests Basel-Stadt (OGD) | Machine-translated at harvest |
| F2 | Abstract / Description | This dataset shows the number of SARS-CoV-2 tests carried out on persons resident in the canton of Basel-Stadt, together with the corresponding test results (positive/negative), separated by PCR test and rapid antigen test, on a daily basis. The data were provided daily by the Federal Office of Public Health (FOPH/BAG) in the COVID-19 situation report or via its API. Figures for Friday, Saturday… | Machine-translated at harvest |
| F3 | Keywords / Thematic Tags | Corona, Coronavirus, COVID-19, Krankheit, Lungenentzündung, PCR, Test | As published |
| F4 | Semantic Topic Tag (from a controlled vocabulary) | Missing | Missing |
| F5 | Unique Identifier | 78e1eb25-9006-4463-861e-54de4892e292 | As published |
| F6 | Publisher / Data Provider | Kanton Basel-Stadt | As published |
| F7 | Date of Publication / Last Update | 27 Aug 2020 | As published |
| F8 | Source or Origin | Missing | Missing |
| F9 | Access URL | https://data.bs.ch/api/explore/v2.1/catalog/datasets/100094/exports/json/?lang=de&timezone=Europe%2FZurich JSON file | As published |
| F10 | Contact Information | dcc@bs.ch | As published |
| F11 | Format / Type | JSON, XLSX, CSV | As published |
| F12 | Geographical Coverage | Basel-Stadt | As published |
| F13 | Temporal Coverage | Missing | Missing |
| F14 | Units of measurement | Missing | Missing |
| F15 | Variable name/label/short description | Missing | Missing |
| F16 | Update Frequency | never | As published |
| F17 | Data Quality Note / Methodology Summary | Missing | Missing |
The TDO's own fields
| No. | Field | Value | Where it came from |
|---|---|---|---|
| T1 | Link to source | https://data.bs.ch/explore/dataset/100094/ Web page | As published |
| T2 | Licence | Not stated | Not stated |
| T3 | Original producer | Not stated | Not stated |
| T4 | Original language | de | As published |
Curation and history
| Catalogue | I14Y interoperability platform, Swiss Federal Statistical Office (FSO) |
| Identifier at source | 01a03812-1846-7442-8854-c8d378bca93d |
| Stable address | https://tdo-prototype.vercel.app/dataset/i14y-285c2e6542 |
| First harvested | 10 Oct 2026 |
| Last seen at source | 24 Nov 2026 |
| Version | 14 (changes captured 12 Nov 2026, 10 Nov 2026, 7 Nov 2026, 5 Nov 2026, 31 Oct 2026, 28 Oct 2026, 27 Oct 2026, 19 Oct 2026, 16 Oct 2026, 14 Oct 2026) |
Status ladder: harvested, then validated once all 17 fields are filled, then confirmed by the publisher. Confirmation comes with contributor accounts in the real build.
The metadata as the source publishes it
{
"id": "01a03812-1846-7442-8854-c8d378bca93d",
"title": {
"de": "Coronavirus (COVID-19): Tests Basel-Stadt (OGD)"
},
"images": [],
"issued": "2020-08-27T02:00:00+02:00",
"system": {
"createdAt": "2026-08-25T08:38:25.097183+00:00",
"modifiedAt": "2026-09-11T11:47:50.070905+00:00",
"creationType": "Manual"
},
"themes": [],
"spatial": [
"Basel-Stadt"
],
"geoIvIds": [],
"keywords": [
{
"label": {
"de": "Test"
}
},
{
"label": {
"de": "PCR"
}
},
{
"label": {
"de": "Corona"
}
},
{
"label": {
"de": "Coronavirus"
}
},
{
"label": {
"de": "COVID-19"
}
},
{
"label": {
"de": "Krankheit"
}
},
{
"label": {
"de": "Lungenentzündung"
}
}
],
"frequency": {
"uri": "http://publications.europa.eu/resource/authority/frequency/NEVER",
"code": "NEVER",
"name": {
"de": "niemals",
"en": "never",
"fr": "jamais",
"it": "mai"
}
},
"languages": [
{
"uri": "https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1=de",
"code": "de",
"name": {
"de": "Deutsch",
"en": "German",
"fr": "allemand",
"it": "Tedesco"
}
}
],
"publisher": {
"id": "d4e2bc67-4b84-4eb9-bb0f-a3b8b18fa5d5",
"uid": "CHE114965217",
"name": {
"de": "Kanton Basel-Stadt",
"en": "Kanton Basel-Stadt",
"fr": "Canton de Bâle-Ville",
"it": "Cantone di Basilea Città"
},
"images": [],
"system": {
"createdAt": "2026-03-19T16:01:42.981567+00:00",
"modifiedAt": "2026-10-09T07:50:50.976335+00:00"
},
"spatial": [],
"homePage": "https://www.bs.ch",
"prefLabel": {
"de": "Kt. BS",
"en": "Kt. BS",
"fr": "Kt. BS",
"it": "Kt. BS"
},
"spatialCH": [
{
"code": "BS",
"name": {
"de": "Basel-Stadt",
"en": "Basel-Stadt",
"fr": "Bâle-Ville",
"it": "Basilea Città ",
"rm": "Basilea-Citad"
}
}
],
"subAgents": [],
"identifier": "CH_KT_BS",
"subAgentOf": [],
"description": {
"de": "Der Kanton Basel-Stadt veröffentlicht Open Government-Datensätze von kantonalen Ämtern und Dienststellen. **Open Data Basel-Stadt** ist zuständig für die Unterstützung der datenpublizierenden Verwaltungsstellen.",
"en": "The Canton of Basel-Stadt publishes open government datasets from cantonal offices and departments. **Open Data Basel-Stadt** is responsible for supporting the administrative units that publish data.",
"fr": "Le canton de Bâle-Ville publie des ensembles de données ouvertes (Open Government Data) provenant des offices et services cantonaux. **Open Data Basel-Stadt** est responsable du soutien aux services administratifs qui publient des données.",
"it": "Il Cantone di Basilea-Città pubblica set di dati aperti (Open Government Data) provenienti dagli uffici e dai servizi cantonali. **Open Data Basel-Stadt** è responsabile del supporto agli uffici amministrativi che pubblicano i dati."
},
"classification": {
"code": "0221",
"name": {
"de": "Verwaltungseinheit des Kantons",
"en": "Administrative unit of the canton",
"fr": "Unité de l’administration cantonale",
"it": "Unità amministrativa del cantone"
}
}
},
"relations": [],
"conformsTo": [],
"description": {
"de": "Dieser Datensatz zeigt die Anzahl Tests auf SARS-CoV-2, welche an Personen mit Wohnsitz im Kanton Basel-Stadt durchgeführt wurden sowie die entsprechenden Testresultate (positiv/negativ) und separiert nach PCR Test bzw. Antigen Schnelltest auf täglicher Basis. Die Angaben wurden täglich durch das Bundesamt für Gesundheit (BAG) zur Verfügung gestellt im Covid-19 Situationsbericht bzw. über dessen API. Die Zahlen von Freitag, Samstag und Sonntag wurden durch das BAG jeweils am Montag aktualisiert. Die Erhebung der Anzahl Tests auf SARS-CoV-2 wurde per 16. Januar 2023 sistiert. Der Datensatz wird nicht mehr aktualisiert. Die Zahlen für alle Kantone sowie für die gesamte Schweiz und das Fürstentum Liechtenstein sind in diesem Datensatz zu finden: https://data.bs.ch/explore/dataset/100116/"
},
"identifiers": [
"78e1eb25-9006-4463-861e-54de4892e292"
],
"accessRights": {
"uri": "http://publications.europa.eu/resource/authority/access-right/PUBLIC",
"code": "PUBLIC",
"name": {
"de": "Öffentlich",
"en": "Public",
"fr": "Public",
"it": "Pubblico"
}
},
"landingPages": [
{
"uri": "https://data.bs.ch/explore/dataset/100094/"
}
],
"contactPoints": [
{
"fn": {
"de": "DCC Data Competence Center"
},
"kind": "Organization",
"hasEmail": "dcc@bs.ch",
"hasAddress": {
"de": "Binningerstrasse 6\n4051 Basel"
},
"hasTelephone": ""
}
],
"distributions": [
{
"id": "01a0904b-9eb5-715a-8034-635ced5e1e9f",
"title": {
"de": "100094.json"
},
"format": {
"uri": "https://publications.europa.eu/resource/authority/file-type/JSON",
"code": "JSON",
"name": {
"de": "JSON",
"en": "JSON",
"fr": "JSON",
"it": "JSON"
}
},
"images": [],
"issued": "2026-08-22T05:37:48.897+02:00",
"coverage": [],
"accessUrl": {
"uri": "https://data.bs.ch/api/explore/v2.1/catalog/datasets/100094/exports/json/?lang=de&timezone=Europe%2FZurich"
},
"languages": [],
"conformsTo": [],
"identifier": "ea01716d-990b-44ff-a7d7-4b170444993c",
"description": {
"de": "100094.json"
},
"documentation": [],
"accessServices": []
},
{
"id": "01a0904b-9eb5-74bf-89c4-c4efcfb6475a",
"title": {
"de": "100094.xlsx"
},
"format": {
"uri": "https://publications.europa.eu/resource/authority/file-type/XLSX",
"code": "XLSX",
"name": {
"de": "Excel XLSX",
"en": "Excel XLSX",
"fr": "Excel XLSX",
"it": "Excel XLSX"
}
},
"images": [],
"issued": "2026-08-22T05:37:50.028+02:00",
"coverage": [],
"accessUrl": {
"uri": "https://data.bs.ch/api/explore/v2.1/catalog/datasets/100094/exports/xlsx/?lang=de&timezone=Europe%2FZurich&use_labels=true"
},
"languages": [],
"conformsTo": [],
"identifier": "6fb18d51-511b-4619-967e-753a8355e99e",
"description": {
"de": "100094.xlsx"
},
"documentation": [],
"accessServices": []
},
{
"id": "01a0904b-9eb5-7e5f-a413-c016704e8353",
"title": {
"de": "100094.csv"
},
"format": {
"uri": "https://publications.europa.eu/resource/authority/file-type/CSV",
"code": "CSV",
"name": {
"de": "CSV",
"en": "CSV",
"fr": "CSV",
"it": "CSV"
}
},
"images": [],
"issued": "2026-08-22T05:37:47.743+02:00",
"coverage": [],
"accessUrl": {
"uri": "https://data.bs.ch/api/explore/v2.1/catalog/datasets/100094/exports/csv/?delimiter=%3B&lang=de&timezone=Europe%2FZurich&use_labels=true"
},
"languages": [],
"conformsTo": [],
"identifier": "baeabd99-d8a7-405e-96ef-571ee0b7c585",
"description": {
"de": "CSV verwendet ein Semikolon (;) als Trennzeichen."
},
"documentation": [],
"accessServices": []
}
],
"documentation": [],
"isReferencedBy": [],
"publicationLevel": "Public",
"temporalCoverage": [],
"qualifiedRelations": [],
"registrationStatus": "Recorded",
"qualifiedAttributions": []
}