R/ucr_crime.R
get_estimated_crime.Rd
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())
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 |
A data.frame with state-level estimated UCR crime data for selected state
Other UCR crime functions:
get_agency_crime()
,
get_estimated_arson()
if (FALSE) { get_estimated_crime("CA") }