R code for: "The impact of heat waves on mortality"
A comparative analysis of the main and added effects of temperature on mortality. The code originally reproduced the example included in the article: Gasparrini A, Armstrong B. The impact of heat waves on mortality. Epidemiology. 2011;22(1):68-73. The original example included in the article was based on data for the 108 USA cities available from the National Mortality, Morbidity, and Air Pollution Study (NMMAPS), which at the time of the publication were available through the R package NMMAPSlite. Unfortunately, the data are not available any more and the package NMMAPSlite has been archived. This means that the analysis of the paper is not replicable, unless you have access to the original data and you modify the code accordingly. Functions in the R package dlnm are used for modelling the main effect and graphically representing the added effect, while functions in the R package mvmeta are applied for pooling the results from multiple studies. The material consists of: [1] 01.main.R reproduces the main results in the analysis; [2] 02.additional1.R and 03.additional2.R reproduces additional results; and [3] 04.sensitivity.R performs the sensitivity analyses
Keywords
Heat wave, MortalityItem Type | Dataset |
---|---|
Capture method | Other |
Date | 15 January 2017 |
Creator(s) |
Gasparrini, A |
LSHTM Faculty/Department | Faculty of Public Health and Policy > Dept of Public Health, Environments and Society |
Participating Institutions | London School of Hygiene & Tropical Medicine, London, United Kingdom |
Date Deposited | 13 Dec 2018 16:20 |
Last Modified | 08 Jul 2021 12:52 |
Publisher | Github |
Explore Further
- Github (Online Data Resource)