ukc_specific_outcome: Outcomes for a specific crime

Description Usage Arguments Value Examples

View source: R/specific-crime-outcome.R

Description

Returns the outcomes (case history) for a specified crime. The ID of a crime is a 64-character string, named persistent_id and returned by other methods.

Usage

1
ukc_specific_outcome(persistent_id)

Arguments

persistent_id

The 64 character string that is the unique ID of a particular crime.

Value

Either a tibble with basic details of a crime if no outcome is available, or a list with basic details and a tibble containing the outcome if one is available.

Examples

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

crime_id <- no_location$persistent_id[[1]]

outcome <- ukc_specific_outcome(crime_id)

## End(Not run)

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