knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
See package webpage her: https://mikkelkrogsholm.github.io/murderdata/
The goal of murderdata is to make it easy to get data from the Murder Accountability Project. With data from the Murder Accountability Project you can determine how often police departments in american communities clear a homicide through arrest using the clearances data. You can also explore individual cases reported to the FBI or obtained by the Murder Accountability Project under local Freedom of Information Acts. Using the supplementary data, you can look for patterns in the occurrence of specific types of homicides and how often police identified the offender. Read more at http://murderdata.org/.
You can install murderdata from github with:
# install.packages("devtools") devtools::install_github("mikkelkrogsholm/murderdata")
This is a basic example which shows you how to get data:
With data from the Murder Accountability Project you can determine how often police departments in american communities clear a homicide through arrest using the clearances
data.
library(murderdata) dplyr::glimpse(md_clearances)
You can also explore individual cases reported to the FBI or obtained by the Murder Accountability Project under local Freedom of Information Acts. Using the supplementary
data, you can look for patterns in the occurrence of specific types of homicides and how often police identified the offender.
dplyr::glimpse(md_supplementary)
See the vignette in the package on how to look for serial killers...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.