bjs2r is a set of convience functions for importing Bureau of Justice Statistics (BJS) data directly into R from the BJS Data API.
This product uses the BJS Data API but is not endorsed or certified by BJS.
# install.packages("devtools")
devtools::install_github("jakeruss/bjs2r")
- Currently offers support for the National Crime Victimization Survey (NCVS)
csv_df <- get_ncvs(filename = "filename.csv", path = "path/to/directory",
survey = "personal", year = 2009, pop = TRUE, as.is = TRUE)
json_list <- get_ncvs(filename = "filename.json", path = "path/to/directory",
survey = "personal", year = 2009, pop = TRUE)