Skip to content

justlab/COVID_19_admin_disparities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository holds the data-processing and analysis code for the research project "Neighborhood-level disparities and subway utilization during the COVID-19 pandemic in New York City," published in Nature Communications: 10.1038/s41467-021-24088-7

A snapshot of the publication version of the code is archived at Zenodo:

image

Instructions

All data collection, cleaning, and analysis are conducted via code/NYC_COVID_Disparities.R

Example output

Example output from code/NYC_COVID_Disparities.R is located here.

On a server (2x Intel Xeon E5-2640 v3) connected to an enterprise 1 Gbit/s network, total processing time was 52 minutes, 19 minutes of which was predominantly downloading data.

Packages and Installation

This analysis was conducted in R version 4.0.2. No specialized hardware is required.

When you open the project in RStudio or start an R session in the project directory, the renv package will be installed if it is not already available. You can then install the same versions of R packages as was used for the analysis by running renv::restore().

License

This program is copyright 2020 Daniel Carrión, Elena Colicino, Nicolo Foppa Pedretti, Kodi B. Arfer, Johnathan Rush, and Allan C. Just.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.