SARS-CoV-2 Cases communicated by Swiss Cantons and Principality of Liechtenstein (FL)
We are providing a common official OGD dataset of SARS-CoV-2 case numbers, which are communicated by official Swiss canton's (26 cantons, abbreviations see below) and Principality of Liechtenstein's (abbreviation: FL) sources.
We are providing SARS-CoV-2 case numbers in machine-readable form (CSV) as OGD resources (Open Government Data), that have been published by official sources (Cantons and FL) online. Sources are specified with the respective URL(s).
Case numbers include persons tested and treated in the respective Canton resp. Principality of Liechtenstein. Important: Since 09.03.2020, only persons who meet certain test criteria are tested (see e.g. with the Canton of Zurich "Testkriterien" at www.gd.zh.ch/coronavirus).
The data is updated regularly - if available daily. Times of collection and update of the data may vary. We are specifying the date of the last reporting, and - if available - a time-stamp, too.
The data is both automatically and manually updated, and regularly checked. We are performing three times a day complete manual updates and verifications; these "roundtrips" are starting at 8am, 2pm and 8pm. They are usally completed within 60 minutes.
There is a merged file of all Cantons and FL that is automatically updated for use in data analysis.
You can get started exploring the data with
visualise.ipynb (run it in your browser).
We are available to advise and support interested authorities, how to easily complete both historized data, and missing columns. You can reach us:
- https://twitter.com/OpenDataZH (follow us, we send you a private Direct Message, thanks!)
Cantonal / FL data ressources
|Canton / FL||updated by||data historized|
The data of the Cantonal case numbers is structured as follows:
|date||Date of notification||YYYY-MM-DD|
|time||Time of notification||HH:MM|
|abbreviation_canton_and_fl||Abbreviation of the reporting canton||Text|
|ncumul_tested||Reported number of tests performed as of date||Number|
|ncumul_conf||Reported number of confirmed cases as of date||Number|
|ncumul_hosp *||Reported number of hospitalised patients on date||Number|
|ncumul_ICU *||Reported number of hospitalised patients in ICUs on date||Number|
|ncumul_vent *||Reported number of patients requiring invasive ventilation on date||Number|
|ncumul_released||Reported number of patients released from hospitals or reported recovered as of date||Number|
|ncumul_deceased||Reported number of deceased as of date||Number|
|source||Source of the information||href|
*These variables reflect current, not cumulative numbers, even if the prefix in the column-name might suggest otherwise. Column names will not be changed to grant stability.
Note that only numbers communicated by the cantons are published in the files, i.e. it's possible that there are gaps, when a canton did not provide a certain number on a date. It's on purpose that the cumulative numbers are not carried forward if no new number is communicated.
Visualization of Swiss and Cantonal Case Numbers over Time
Robert Salzer on Twitter: https://twitter.com/rob_salzer
Many thanks for the great work!