README.md 1.95 KB
Newer Older
Mathilde Grimée's avatar
Mathilde Grimée committed
1
2
3
4
# Modelling the effect of a border closure between Switzerland and Italy on the spatiotemporal spread of COVID-19 in Switzerland 

This repository contains the data and code used to perform the analysis of the article: 

Mathilde Grimée's avatar
Mathilde Grimée committed
5
* M. Grimée, M. Bekker-Nielsen Dunbar, F. Hofmann, L. Held. Modelling the effect of a border closure between Switzerland and Italy on the spatiotemporal spread of COVID-19 in Switzerland. *Spat. Stat.*, 2021. DOI: [10.1016/j.spasta.2021.100552](https://doi.org/10.1016/j.spasta.2021.100552)
Mathilde Grimée's avatar
Mathilde Grimée committed
6
7

### The project
Maria Bekker-Nielsen Dunbar's avatar
Maria Bekker-Nielsen Dunbar committed
8
This article was produced within the framework of the SUSPend project, which was supported by the Swiss National Science Foundation [grant number 196247, https://data.snf.ch/covid-19/snsf/196247].
Mathilde Grimée's avatar
Mathilde Grimée committed
9
10


Mathilde Grimée's avatar
Mathilde Grimée committed
11
### This repository contains
Mathilde Grimée's avatar
Mathilde Grimée committed
12
13
14
* `Data_raw` : contains all the raw data as .csv or .txt files. Descriptions of data sources can be found in the article's supplementary materials.
* `Data_preparation`: contains R-code for the data preprocessing and the resulting R-objects 
* `Analysis`: contains R-code for the analysis and the resulting R-objects
Mathilde Grimée's avatar
Mathilde Grimée committed
15
* `Figures`: contains figures as .pdf files created under `Analysis/Plot_scripts`
Mathilde Grimée's avatar
Mathilde Grimée committed
16
* `Tables`: contains results tables as .tex files created under `Analysis`
Mathilde Grimée's avatar
Mathilde Grimée committed
17
* All objects with extension `_sens` pertain to the sensitivity analysis around the IOM indicator. 
Mathilde Grimée's avatar
Mathilde Grimée committed
18

Mathilde Grimée's avatar
Mathilde Grimée committed
19
20
21
22
For each script, a short description of its purpose is provided at the beginning of the file.


### How to use the code
Mathilde Grimée's avatar
Mathilde Grimée committed
23
24
25
* The files in the directories `Data_preparation`, `Analysis` and `Tables` can be built by running the makefile, with exception of the objects with file name ending in `_sens` (see next point).

* To build all objects with file name ending in `_sens`, the R-scripts `Data_preparation/Adjacencies_prep_iom_sensitivity.R`, then `Data_preparation/Adjacencies_cf_sens.R`, and finally `Analysis/Sensitivity.R` have to be ran separately.
Mathilde Grimée's avatar
Mathilde Grimée committed
26
27

* To build the files under `Figures`, the R-scripts under `Analysis/Plot_scripts` have to be ran separately.
Mathilde Grimée's avatar
Mathilde Grimée committed
28