Skip to content

Code for analyses in 2020 nCoV preprint, based on analyses from Gostic et al., eLife, 2015.

License

Notifications You must be signed in to change notification settings

kgostic/traveller_screening

Repository files navigation

Estimated effectiveness of symptom and risk screening to prevent the spread of COVID-19

Authors: Gostic, Gomez, Mumah, Kucharski, Lloyd-Smith. Last update: Feb. 21, 2020 https://www.medrxiv.org/content/10.1101/2020.01.28.20019224v2

The source code we used to perform these analyses runs in R, and is all in this repo. If you want to use or modify our code, keep reading.

(The exact release we used to generate the figures in the manuscript is [here].

Feel free to use or modify this code. We just ask that you cite us:


contact kgostic [at] uchicago.edu with questions


These scripts run the model and generate output from:

This code by K. Gostic, adapted from a previous version implemented by A. Kucharski.

Repository contents:

All code runs in R.

  • The nCov_manuscript_plots.R script runs all analyses and generates all plots and data outputs.
    • .RData files contain raw, simulated data.
      • "a" indicates outputs generated based on arrival screening only. "d" indicates departure screening only. "ad" indicates both.
      • "flat" indicates outputs generated assuming a stable epidemic. Outputs without the "flat" flag were generated assuming a growing source epidemic.
    • 2002_nCoV/ contains all plot and source data outputs.
      • Source data .csv files contain processed data frames used to generate the corresponding plot.
      • Plot names corresond to their ID in the manuscript (e.g. Fig. 3, Fig 3S1).

Code for the shiny app is hosted elsewhere. These scripts here generate figures shown in the manuscript.


About

Code for analyses in 2020 nCoV preprint, based on analyses from Gostic et al., eLife, 2015.

Resources

License

Stars

Watchers

Forks

Packages

No packages published