Get state- or national-level estimated crime counts from the UCR's Offenses Known and Clearances by Arrest data set.

get_estimated_crime(state_abb = NULL, key = get_api_key())

Arguments

state_abb

String or vector of strings input for state abbreviation(s) to get data for. If NULL (default) returns national data.

key

A string containing your FBI's Crime Data Explorer API key

Value

A data.frame with state-level estimated UCR crime data for selected state

See also

Other UCR crime functions: get_agency_crime(), get_estimated_arson()

Examples

if (FALSE) { get_estimated_crime("CA") }