Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

SQL Database of Municipal Crime UCR Data for Missouri

License

Notifications You must be signed in to change notification settings

slu-openGIS/MO_CRIME_Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MO_CRIME_Database

This repository contains the raw data and code for creating MO_CRIME_Database.sqlite. The database, which is located in the data/ directory, is a longitudinal database containing counts for each Part 1 crime category per year for Missouri municipalities that reported data to the Federal Bureau of Investigation's Uniform Crime Reporting program.

For the period 1979-1998, the database contains data for Kansas City, St. Joseph, St. Louis, Springfield, and University City. For the period 1999-2018, it contains all municipal level data reported by the FBI.

The database will be continually updated with historical data with the eventual goal of containing all count data from 1940 onwards. If you are interested in working with pre-1999 data for Missouri, the data/raw folder contains the relevant extrats from the Crime in the United States publications for each year.

Using the Database

Users should not have to re-build the database themselves. R users can connect to the database using the following syntax:

# dependencies
library(DBI)
library(dplyr)
# dbplyr must also be installed but does not need to be loaded

# establish connection
con <- dbConnect(RSQLite::SQLite(), "data/MO_CRIME_Database.sqlite")
homicide_db <- tbl(con, "homicide")

# query
homicide_db %>% 
  filter(name == "St. Louis")

Limitations

Aside from the temporal limit noted above, all footnotes have been removed from tables. Users should be familiar with the limitations for particular categories of crime and particular agencies prior to working with these data. Additional documentation and flagging will be added in the future to identify agencies with potentially unreliable data practices.

About

SQL Database of Municipal Crime UCR Data for Missouri

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages