Giter Site home page Giter Site logo

oxforddemsci / ex2020 Goto Github PK

View Code? Open in Web Editor NEW
16.0 6.0 3.0 410.26 MB

Code to replicate 'Quantifying impacts of the COVID-19 pandemic through life expectancy losses: a population-level study of 29 countries'

Home Page: https://www.medrxiv.org/content/10.1101/2021.03.02.21252772

License: GNU General Public License v2.0

R 79.93% HTML 11.37% TeX 8.71%
covid-19 life-expectancy r data data-science data-analysis data-visualization

ex2020's Introduction

Quantifying impacts of the COVID-19 pandemic through life expectancy losses

A population-level study of 29 countries

DOI Generic badge Generic badge Generic badge Generic badge

Introduction


This is a repository to accompany 'Quantifying impacts of the COVID-19 pandemic through life expectancy losses: a population-level study of 29 countries'. 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.

An interactive data visualisation relating to this work can be found here:

https://covid19.demographicscience.ox.ac.uk/lifeexpectancy

Prerequisites


As a pre-requisite to running this locally, you will need a working installation of R with all of the necessary dependencies installed.

Running the Code


To run this code, do something like:

$ git clone https://github.com/OxfordDemSci/ex2020.git

and then execute each of the scripts (0 through 10) which will undertake sequential tasks like defining skeletons, to undertaking the PCLM, cleaning outputs for analysis, and data visualisation

Structure


  • 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

Versioning


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!

License


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.

Acknowledgements

We are grateful to the extensive comments provided by Jim Oeppen, Alyson van Raalte, John Ermisch and Christiaan Monden. Funding was generously provided by a British Academy Newton International Fellowship, the Rockwool Foundation’s Excess Deaths grant, a Leverhulme Trust Large Centre Grant, a John Fell Fund grant, a European Research Council grant and the Interdisciplinary Centre on Population Dynamics (CPop).

ex2020's People

Contributors

crahal avatar ianknowles avatar ikashnitsky avatar jmaburto avatar jschoeley avatar luyin-z avatar ridhi-kashyap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.