An integrated approach to quantify the impact of the COVID-19 pandemic on life expectancy, lifespan inequality and life lost by ethnic/racial groups in the USA
This is a repository to accompany 'An integrated approach to quantify the impact of the COVID-19 pandemic on life expectancy, lifespan inequality and life lost by ethnic/racial groups in the USA'. A link to the open-access version of the paper can be found by clicking here. The replication files for this paper include customised functionality written in the R statistical programming language.
As a pre-requisite to running this locally, you will need a working installation of R with all of the necessary dependencies installed.
To run this code, do something like:
$ git clone https://github.com/jmaburto/ex_USA_racial-ethnic_differences.git
and then execute each of the scripts (0 through 7) which will undertake sequential tasks like defining skeletons, to undertaking the PCLM, cleaning outputs for analysis, and data visualisation
- cfg relates to: configuration files
- dat relates to: input source data
- out relates to: output data, figures, and sensitivity analysis
- src relates to: code to replicate the wrangling, analysis and visualisation
- tmp relates to: a subdir to store temporary files
- ass relates to: a place to store repo assets
This version of the code is pre-publication (v.0.1.0). If you have any suggestions, please don't hesitate to raise an issue here on this repository, or to e-mail one of the corresponding authors of the paper!
This work is free. You can redistribute it and/or modify it under the terms of the GNU Public license and subject to all prior terms and licenses imposed by the free, public data sources provided by the HMD-STMF, CoverAge-DB, UK-ONS, and US-CDC (i.e. the 'data originators'). The code comes without any warranty, to the extent permitted by applicable law.