Code Monkey home page Code Monkey logo

comix_covid-19-first_wave's Introduction

Contact survey during COVID-19 DOI

Analyses of the first wave of data from the CoMix social contact survey conducted in the UK during COVID-19 outbreak

Packages

data.table ggplot2 socialmixr patchwork ggthemr

remotes::install_github("Rdatatable/data.table")
install.packages("ggplot2)
remotes::install_github("sbfnk/socialmixr")
install.packages("patchwork/ggplot2)
devtools::install_github('cttobin/ggthemr')

Folder structure

data/ - for the data data/contact_matrices - For contact matrices r/ - for r scripts r/functions/ - for functions created for this analysis reports/ - For markdown documents outputs/ - For any graphs or output of data for public use admin/ - documents such as the survey protocol

Outline of scripts

scripts with dm_ are for data management scripts with an_ are for analysis and creating figures

  • dm_setup_contact_matrix - Create contact matrices based on the survey data and polymod and save in data/contact_matrices/
  • dm_scale_contact_matrix - Scale the contact matrices to impute age and reduction in R.
  • dm_scale_boot_matrices - repeat what dm_scale_contact_matrix does but for bootstrapped matrices
  • an_figure_one - Figure for paper
  • an_figure_two - Figure of contact matrices for different locations
  • an_descriptive_stats_tables - descriptive stats that go into tables in the analysis.
  • an_table_two - Table overview of the characterstics of participants and contacts
  • an_eigenvalues - Create data and look at change in R based on the eigenvalue scalings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.