• Stars
    star
    302
  • Rank 138,030 (Top 3 %)
  • Language
    R
  • Created over 8 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code and data behind FiveThirtyEight's Gun Deaths in America project.

There are five files in this repository:

  • CDC_parser.R - code to download, clean and parse data from the CDC's Multiple Cause of Death datafile.
  • interactive_prep.R - code to generate the data behind our interactive data visualization.
  • interactive_data.csv - clean data behind our interactive data visualization
  • full_data.csv - cleaned gun-death data from the CDC for 2012-2014.
  • SHR_parser.R - code to clean and parse data from the FBI's Supplementary Homicide Reports.

Questions/comments/corrections: email Ben Casselman