ukc_crime_no_location: Crimes without location

Description Usage Arguments Value Examples

View source: R/crime-no-location.R

Description

Returns details of crimes that cannot be mapped to a particular location. Note that the police force must be specified.

Usage

1
ukc_crime_no_location(force, crime_category = NULL, date = NULL)

Arguments

force

A string containing the name of the police force to return data for. Must be specified, and is not case sensitive.

crime_category

The category of crime to return. Defaults to returning all crimes. See ukc_crime_category() for details. See ukc_forces() for details.

date

The year and month in "YYYY-MM" form. If NULL, latest available month will be returned. Also accepts dates in formats that can be coerced to Date class with as.Date().

Value

A tibble with details of crimes without a specific location.

Examples

1
2
3
4
## Not run: 
no_location <- ukc_crime_no_location(force = "city-of-london")

## End(Not run)

ukpolice documentation built on Aug. 3, 2020, 5:09 p.m.