Overview

From the Unified Crime Reporting Statistics and under the collaboration of the U.S. Department of Justice and the Federal Bureau of Investigation information crime statistics are available for public review. The following data set has information on the crime rates and totals for counties across the United States for a wide range of years. The crime reports are divided into two main categories: property and violent crime. Property crime refers to burglary, larceny, and motor related crime while violent crime refers to assault, murder, rape, and robbery.

http://www.ucrdatatool.gov/Search/Crime/Local/JurisbyJurisStepTwo.cfm

Downloads

Download all of the following files.

Usage

This library has 3 functions you can use.
(require "county_crime.rkt")
(get-all-crimes false)
(get-crime-by-county "Alabaster Police Dept" false)
(get-crime-by-year "1984" false)
Additionally, some of the functions can optionally return Big Data using an extra argument. If you use this Big Data, it may be much slower. Wait until you are sure your code is correct before using these examples.
(require "county_crime.rkt")
; These may be slow!
(get-all-crimes true)
(get-crime-by-county "Alabaster Police Dept" true)
(get-crime-by-year "1984" true)

Documentation

 get-all-crimes(test)

Gets a list of all the crime reports in the database.

 get-crime-by-county(department, test)

Given the name of an county, returns all the crime reports for that county in the database.

 get-crime-by-year(year, test)

Given a year, returns all the crime reports for that year in the database.