Home

Awesome

Collecting and encoding the measures taken against the spread of COVID2019 in Switzerland

Introduction

Since February 25, 2020 Switzerland has been affected by COVID-19. Modelling predictions show that this pandemic will not stop on its own and that stringent migitation strategies are needed. Switzerland has implemented a series of measures both at cantonal and federal level. The aim of this project is to collect and categorize these control measures and create a continuously updated data set, which can be used for modelling or visualization purposes. Please cite the DOI if you use this dataset.

This project is a collaborative effort by volunteers (see contributors below). The repository is open to contribution, please open an issue if you want to become a collaborator.

Methods

Data collection

We collect the date/duration and level of the most important measures taken in response to COVID-19 from official cantonal and federal press releases for each Kanton of Switzerland. The most current version is available for download in this repository.

We consider the following measures:

measurelevelscomment
carefacilities0=no restriction, 1=restricted access, 2=access prohibitedincludes hospitals, nursing and disabled homes
casemanagement0=no, 1=yesincludes testing, isolation, quarantine and triage
daycare0=no restriction, 1=restricted access or closedincludes Krippe and Hort
events0=no restriction, 1=events > 1000 persons banned, 2=events > 500 persons banned, 3=events > 100 persons banned, 4=events > 50 persons banned, 5=events > 10 persons banned, 6=events > 5 persons bannedincludes events and mass gatherings of any kind
stayathome0=no, 1=yesSwitzerland does not have an official "lockdown" policy in the sense of a shelter-in-place order. This category means a "strong recommendation to stay at home".
mobilityint0=no restriction, 1=restriction of cross-border mobility, 2=closing of borders
publicoffices0=no restriction, 1=closedincludes public offices with counters such as tax office or vehicle registration office
publicplaces0=no restriction, 1=closedincludes museums, sports facilities, parks
publictransport0=no restriction, 1=reduced
recommendations0=no, 1=yesincludes information campaigns and general recommendations such as respiratory hygiene and physical distancing
retailgastro0=no restriction, 1=restricted access, 2=closureincludes all non-essential retail, gastronomy and entertainment places as well as businesses with direct contact (hair dressers, massage,…)
schools0=no restriction, 1=closedincludes primary and secondary school as well as Kindergarten
universities0=no restriction, 1=closed

The data are collected in a Google spreadsheet and updated periodically. The files are available for download from this repository with the date indicating the last update (file names measures_CH_2020-XX-XX.csv). The file measures_CH_2020.csv is the most recent version of the data as it is collected, but it may not be equally complete for all cantons. The file measures_detailed_CH.csv contains more details on the collected interventions, notably URL links to the respective cantonal or federal press releases.

Results

For a visualization of the measures until 2020-06-04, see here. There is also a (simple) R Shiny app with visualizations and links to the press releases underlying the presented data.

Data usage

You are free to use these data under the CC-BY-NC creative commons license. Please cite this project whenever you use the data.

Workflow for colaborators

Disclaimer

It is possible that some measures are missing because they were not communicated explicitly on the websites of the cantonal administrations. If you spot an error or want to make a suggestion for adding data, please open an issue.

Contributors

Related projects

ARCHIVED: Raw initial data collection

Initially, we collected all information about all measures undertaken until 2020-04-06 verbatim in Google spreadsheets and categorized each item according to the categories below. From these raw data, we define the most important measures and aggregated the data set as described above to make it more useful for research. The original raw dataset is still available, but will not be updated.

varnamedescriptionselect
countryISO code of the country where the measure applies
unitadministrative unit. Whenever possible, use the ISO_3166-2 code. For cities, use full name in German, French or Italian. For measures taken by private enterprises or organisations, use their full name
date_implementeddate when the measure is implemented
date_lifteddate when the measure is lifted
measuretextual description of the measure
levellevel of the administrative unitcantonal, national, municipality, private
measure_catcategory of measurecase management, economic, mass gatherings, mobility, other, private institutions access, public institutions access, recommendations
measure_sub_catsubcategory of measuresee below
sourceURL of the source
entered_byinitials of who entered the data and set the categories
reviewed_byinitials of who reviewed the categories
The measurements have the following subcategories:
measure_catmeasure_sub_catnotelaw
case managementcontact tracingSwiss Epidemics Act, Art. 15
case managementisolation and self-isolationIsolation at home or in care facility of casesSwiss Epidemics Act, Art. 35b
case managementmanagement of dead bodiesSwiss Epidemics Act, Art. 46
case managementquarantine and self-quarantineisolation at home or in care facility of suspected cases or contactsSwiss Epidemics Act, Art. 35a
case managementtesting
economicIncluding monetary or fiscal support, suspension of tax claims
mass gatheringsban of events / mass gatherings of > 10 personsSwiss Epidemics Act, Art. 40, 2a
mass gatheringsban of events / mass gatherings of > 100 personsSwiss Epidemics Act, Art. 40, 2a
mass gatheringsban of events / mass gatherings of > 1000 personsSwiss Epidemics Act, Art. 40, 2a
mass gatheringsban of events / mass gatherings of > 5 personsSwiss Epidemics Act, Art. 40, 2a
mass gatheringsban of events / mass gatherings of > 50 personsSwiss Epidemics Act, Art. 40, 2a
mass gatheringsban of events / mass gatherings of > 500 personsSwiss Epidemics Act, Art. 40, 2a
mass gatheringsevent permit requiredSwiss Epidemics Act, Art. 40, 2a
mobilityban of cross-border mobilityNo incoming mobility allowedSwiss Epidemics Act, Art. 41
mobilityrestriction of cross-border mobilityIncoming mobility allowed for restricted purposes (e.g. work)Swiss Epidemics Act, Art. 41
mobilityshelter-in-place order, curfewProhibited to leave the house except for essential errands
mobilitystay-at-home recommendationStrong recommendation to stay and work from home
otherIncluding suspension of elective surgeries or political events or reallocation of resources
retail_gastro_recreationban of access to retail, gastronomy and recreation and businesses with close contactIncluding restaurants, bars, clubs, hair dressers, massage and beauty salonsSwiss Epidemics Act, Art. 40, 2b
retail_gastro_recreationrestriction of access to retail, gastronomy and recreationIncluding restriction on maximum number of people or minimum distance, business hours, restriction on use of infrastructureSwiss Epidemics Act, Art. 40, 2b
public institution accessban of access to public open areas and parksSwiss Epidemics Act, Art. 40, 2c
public institution accessban of access to short- and long-term care facilitesIncluding hospitals, nursing homes, rehabilitation centers and disabled homesSwiss Epidemics Act, Art. 40, 2b, Art. 19, 2d
public institution accessclosure of day careIncludes KitaSwiss Epidemics Act, Art. 40, 2b
public institution accessclosure of public places (museums, sports facilities, ..)Swiss Epidemics Act, Art. 40, 2b
public institution accessclosure of public offices and countersSwiss Epidemics Act, Art. 40, 2b
public institution accessclosure of schoolsSchools including KindergartenSwiss Epidemics Act, Art. 40, 2b
public institution accessclosure of universitiesSwiss Epidemics Act, Art. 40, 2b
public institution accessrestriction of access to short- and long-term care facilitesIncluding hospitals, nursing homes, rehabilitation centers and disabled homesSwiss Epidemics Act, Art. 40, 2b, Art. 19, 2d
recommendation_informationIncluding information campaigns and recommendations for hand washing, respiratory hygiene and physical distancing, establishment of hotlines