Skip to content

bansallab/resp_contact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data and code for "Characterizing US contact patterns relevant to respiratory transmission from a pandemic to baseline: Analysis of a large cross-sectional survey"

This repository provides the data and source code for the following study: Juliana C Taube, Zachary Susswein, Vittoria Colizza, Shweta Bansal. "Characterizing US contact patterns relevant to respiratory transmission from a pandemic to baseline: Analysis of a large cross-sectional survey." https://doi.org/10.1101/2024.04.26.24306450

Estimates (estimates/)

Pandemic and baseline estimates of contact at the county-week scale are provided. Estimates are also provided dis-aggregated by age, gender, race/ethnicity, and setting of contact. The contact setting file has fewer columns so that it is small enough to upload here.

Columns of interest:

  • contact_fit has modeled pandemic estimates of mean contact
  • non_hh_contacts has observed pandemic mean contact
  • scale_baseline has inferred baseline estimates of mean contact

Data (data/)

Reference files that may be required to run the code, including fips and state crosswalk files, urban/rural classifications, etc. are in data/input/.

Intermediate data files with aggregated raw data are provided so that the GAMs and linear regression models can be reproduced.

  • group_means_rake provides raw weighted county-week means of contact data truncated at 72 contacts aggregated and disaggregated by age, gender, race, and setting
  • output/mobility_19_20_fall_ratio_new_norm.csv contains ratios of Safegraph Social Distancing mobility metrics for the fall of 2019 and 2020
  • output/normal_gamma2_72trunc_m1/fitted_predictions.csv provides contact estimates as a result of spatiotemporal GAMs for the main text analysis

Code (scripts/)

Scripts to clean data, rake and aggregate survey responses, run spatiotemporal GAM regression models, baseline linear regression models, and reproduce figures. Scripts for analyzing individual responses are provided for reproducibility but will not run without the original individual-level data (see Individual Data section below). File names briefly describe the purpose of each script. Main figures 1 and 2 are produced by 09_baseline_regression.R.

Individual Data

Individual CTIS survey responses cannot be shared by the authors, but researchers can visit https://cmu-delphi.github.io/delphi-epidata/symptom-survey/data-access.html if they would like to enter an agreement for data usage with CMU Delphi.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages