Skip to content
Methods and annotated code pertaining to funding and publication of research on gun violence and other leading causes of death
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Compressed Mortality, 2004-2014.txt

This repository contains detailed methods and annotated code associated with Stark DE, Shah NH. Funding and Publication of Research on Gun Violence and Other Leading Causes of Death. JAMA. 2017;317(1):84-85 and enables fully reproducible research.

The script gun_violence_annotated_code.Rmd is an R Markdown document and should be run within the same working directory as the accompanying file, Compressed Mortality, 2004-2014.txt. Internet access is required, as the code will retrieve data from the MEDLINE and Federal RePORTER databases. Running this .Rmd script in RStudio will take approximately 4-6 hours to complete on a standard machine. The completed output is gun_violence_annotated_code.pdf

The output that generated the results and figures contained in the text (submitted Aug 19, 2016) is included here as annotated_code.pdf Note that another version of the output was previously posted and removed (see repository history), because it was submitted after the test.

You can’t perform that action at this time.