Source Code for Household COVID-19 risk and In-person schooling

Justin Lessler, M. Kate Grabowski, Kyra H. Grantz, Elena Badillo-Goicoechea, C. Jessica E. Metcalf, Carly Lupton-Smith, Andrew S. Azman, Elizabeth A. Stuart


Code is provided to reproduce the primary in-person schooling (1-Primary-Schooling-Analysis.Rmd) and occupation/work outside home (2-Educator-Analysis.Rmd) analyses using a synthetic dataset. Hence, results produced when knitting these documents will not match those presented in the accompanying paper.

Data to reproduce paper figures/tables are freely available from the CMU Delphi Research Group to researchers at universities and non-profits as detailed at Getting Data Access - Delphi Epidata API (cmu-delphi.github.io).

Preprint: Household COVID-19 risk and in-person schooling

Please reach out to justin[at]jhu.edu if you have any questions.

Figure S15

Odds ratio of COVID-19-related outcomes, contrasting office workers not reporting extra-household work for pay to those in other employment categories not reporting work for pay outside the home (top), and to those reporting work for pay outside the home (bottom). The middle row shows the odds ratio (i.e., increased risk) within each category associated with working outside the home compared to no work outside the home.

Odds ratio of COVID-19-related outcomes, contrasting office workers not reporting extra-household work for pay to those in other employment categories not reporting work for pay outside the home (top), and to those reporting work for pay outside the home (bottom). The middle row shows the odds ratio (i.e., increased risk) within each category associated with working outside the home compared to no work outside the home.

Table S12

The relative odds, compared to office and administrative support staff not working outside the home for pay, of COVID-19-related outcomes among individuals who do, and do not, report paid work outside the home.

Occupation Loss of taste/smell COVID like illness Test+
adj. OR OR 95% CI 95% CI adj OR OR 95% CI 95% CI adj OR OR 95% CI 95% CI
Food service 2.19 3.08 1.63–2.94 2.37–4.00 2.20 4.15 1.45–3.35 2.89–5.96 2.40 2.28 1.78–3.22 1.74–2.98
Healthcare 1.25 1.40 1.10–1.42 1.24–1.59 1.28 1.61 1.05–1.57 1.33–1.95 1.25 1.30 1.10–1.42 1.15–1.47
K12Teacher 0.96 1.09 0.79–1.15 0.92–1.29 0.85 1.21 0.64–1.14 0.92–1.58 1.02 1.10 0.85–1.22 0.93–1.30
Other 0.96 0.96 0.88–1.06 0.88–1.05 1.00 1.09 0.87–1.15 0.95–1.25 0.95 0.92 0.87–1.04 0.85–1.00
OtherEductation 0.79 0.75 0.67–0.93 0.64–0.88 0.63 0.72 0.49–0.81 0.57–0.91 0.77 0.74 0.66–0.90 0.64–0.86
Sales 1.33 1.23 1.16–1.53 1.08–1.40 1.23 1.24 1.00–1.52 1.02–1.51 1.30 1.21 1.14–1.49 1.06–1.37
Office and admin support * NA 1.31 1.35 1.19–1.44 1.24–1.48 1.30 1.49 1.12–1.50 1.29–1.71 1.59 1.40 1.45–1.74 1.28–1.52
Food service * NA 0.85 0.80 0.64–1.14 0.62–1.03 0.85 0.76 0.56–1.29 0.54–1.08 0.76 0.71 0.57–1.02 0.54–0.92
Healthcare * NA 1.25 1.24 1.12–1.39 1.12–1.38 1.22 1.35 1.03–1.45 1.15–1.58 1.69 1.37 1.52–1.89 1.24–1.52
K12Teacher * NA 1.38 1.18 1.15–1.65 0.99–1.40 1.50 1.25 1.13–1.99 0.96–1.63 1.83 1.35 1.54–2.19 1.14–1.59
Other * NA 1.46 1.89 1.38–1.56 1.79–1.99 1.39 2.32 1.27–1.53 2.14–2.51 1.57 1.51 1.48–1.67 1.43–1.59
OtherEductation * NA 1.43 1.53 1.20–1.70 1.30–1.80 1.41 1.59 1.08–1.85 1.24–2.03 1.80 1.53 1.54–2.10 1.32–1.77
Sales * NA 1.12 1.38 0.99–1.27 1.23–1.55 1.28 1.72 1.06–1.55 1.44–2.05 1.24 1.18 1.09–1.41 1.05–1.33