get_estimated_crime: Get state- or national-level estimated crime counts from the...

Description Usage Arguments Value See Also Examples

View source: R/ucr_crime.R

Description

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

Usage

1
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

1
2
3
4
## Not run: 
get_estimated_crime("CA")

## End(Not run)

jacobkap/fbi documentation built on Sept. 18, 2020, 7:32 p.m.