covid-19-excess-deaths-tracker

Source code and data for The Economist's covid-19 excess deaths tracker

https://github.com/theeconomist/covid-19-excess-deaths-tracker

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Source code and data for The Economist's covid-19 excess deaths tracker

Basic Info
Statistics
  • Stars: 644
  • Watchers: 49
  • Forks: 166
  • Open Issues: 1
  • Releases: 0
Created about 6 years ago · Last pushed 11 months ago
Metadata Files
Readme Citation

README.md

The Economist's tracker for covid-19 excess deaths

update

This repository contains the data behind The Economists tracker for covid-19 excess deaths, which updates daily, and the code that we have used to clean, analyse and present the numbers.

Scripts, sources and output data

Our tracker uses two R scripts to calculate excess deaths in each country:

  • cleaning_script.R: this imports raw data about all-cause mortality and official covid-19 death tolls. We take most of our all-cause mortality figures from the World Mortality Dataset (WMD), which is maintained by Ariel Karlinsky and Dmitry Kobak. The WMD draws on various national registry offices and statistical bureaus, as well as the Human Mortality Database, a similar project. We take official covid-19 death tolls for each country from Our World In Data, which in turn sources them from Johns Hopkins University. Finally, we take data for US states from the CDC and USA Facts. From these sources, we export a weekly or monthly historical time series of total_deaths and official covid_deaths going back to 2015 (or the earliest available year). If the source that we use for total deaths has also modelled and provided a baseline for expected_deaths, we include that too. The files are exported to /output-data/historical-deaths/.

  • excess_deaths_script.R: this imports the time series files from /output-data/historical-deaths/, and calculates the weekly or monthly expected_deaths for each country (unless a modelled baseline has already been provided). Our own modelled baselines fit a linear trend for year, to account for long-term increases or decreases in mortality, and a fixed effect for each week or month up to February 2020. We have exported these models to /output-data/expected-deaths-models/. We then use these baselines to calculate excess_deaths, and export the files to /output-data/excess-deaths/.

There is a third R script that summarises the data for some graphics in the article:

  • interactive_script.R: this imports the files for excess deaths for a list of countries and creates the data for the small multiple chart and the table featured in the article. The files are exported to /output-data/interactive/.

In October 2021, we moved all weekly data to the ISO standard (meaning weeks begin Monday and end Sunday). This simplifies analysis using many countries at once. For those who prefer data respecting non-ISO week beginning and endings, please use /output-data/alternative-exports-by-non-iso-week/.

Historical versions and sources

This tracker has gone through several iterations since it was launched in April 2020, at which point it was the first database to compare excess mortality with official covid death tolls. As of July 2021 we are now largely relying on all-cause mortality data collected by Ariel Karlinsky and Dmitry Kobak for the WMD. But throughout the development of the tracker we have drawn on many other sources, including:

Registro Civil (Bolivia); Vital Strategies; Office for National Statistics; Northern Ireland Statistics and Research Agency; National Records of Scotland; Registro Civil (Chile); Registro Civil (Ecuador); Institut National de la Statistique et des tudes conomiques; Sant Publique France; Provinsi DKI Jakarta; Istituto Nazionale di Statistica; Dipartimento della Protezione Civile; Secretara de Salud (Mexico); Ministerio de Salud (Peru); Data Science Research Peru; Departamento Administrativo Nacional de Estadstica (Colombia); South African Medical Research Council; Instituto de Salud Carlos III; Ministerio de Sanidad (Spain); Datadista; Istanbul Buyuksehir Belediyesi; New York City Health.

Authors

This data has been collected, cleaned and analysed by James Tozer, Martn Gonzlez, and, since the fall of 2021, Sondre Ulvund Solstad. We are grateful to Lasse Skafte Vestergaard for providing data from EuroMOMO; to Ouz Ik for providing data from Istanbul; to Ren van der Veer for providing code for the Netherlands; to Laurianne Despeghel and Mario Romero Zavalato for providing data from Mexico City; to Karen Gil for providing data from Bolivia; to Thais Carrana, Helio Gurovitz and Diogo Melo for providing data from Brazilian cities; and to Renato Teixeira and Vital Strategies for providing data from the whole of Brazil.

The Financial Times and the New York Times have both published similar analyses of excess mortality.

If you have any suggestions, please email sondresolstad@economist.com.

Licence

This software is published by The Economist under the MIT licence. The data generated by The Economist are available under the Creative Commons Attribution 4.0 International License.

The data and files that we have generated from official sources are freely available for public use, as long as The Economist is cited as a source.

Suggested citation

The Economist, 2020. Tracking covid-19 excess deaths across countries. [online] The Economist. Available at: <https://www.economist.com/graphic-detail/coronavirus-excess-deaths-estimates> [Accessed ---].

(See also our citation file)

Owner

  • Name: The Economist
  • Login: TheEconomist
  • Kind: organization
  • Location: London

GitHub Events

Total
  • Issues event: 1
  • Watch event: 7
  • Issue comment event: 1
  • Push event: 277
  • Fork event: 8
Last Year
  • Issues event: 1
  • Watch event: 7
  • Issue comment event: 1
  • Push event: 277
  • Fork event: 8

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 1,286
  • Total Committers: 5
  • Avg Commits per committer: 257.2
  • Development Distribution Score (DDS): 0.142
Past Year
  • Commits: 347
  • Committers: 2
  • Avg Commits per committer: 173.5
  • Development Distribution Score (DDS): 0.006
Top Committers
Name Email Commits
GitHub Action a****n@g****m 1,103
Sondre Ulvund Solstad s****d@e****m 83
james-tozer j****r@e****m 81
Martín González m@m****t 18
IvanMaksimov44 4****4 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 21
  • Total pull requests: 5
  • Average time to close issues: 8 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 19
  • Total pull request authors: 4
  • Average comments per issue: 1.24
  • Average comments per pull request: 0.2
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Nerdm (3)
  • therealparmesh (1)
  • DrChr (1)
  • ErikYkema (1)
  • apaleyes (1)
  • OrsonMM (1)
  • peter337 (1)
  • ryankuhnhenn (1)
  • laszlosandor (1)
  • abedgell (1)
  • ghost (1)
  • Charlie808 (1)
  • kangqiwang (1)
  • RoyceWHowland (1)
  • lubo93 (1)
Pull Request Authors
  • ozkansari (1)
  • wtgjohnson (1)
  • talhaisik (1)
  • IvanMaksimov44 (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/update.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • ad-m/github-push-action 8407731efefc0d8f72af254c74276b7a90be36e1 composite
  • r-lib/actions/setup-r 12d5b556c504a4be89f0dc9779e0de65bf0cfa44 composite
.github/workflows/upload.yaml actions
  • actions/checkout v2 composite