Description Usage Arguments Value See Also Examples
Get state- or national-level estimated crime counts from the UCR's Offenses Known and Clearances by Arrest data set.
1 | 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()
1 2 3 4 | ## Not run:
get_estimated_crime("CA")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.