ukc_specific_outcome {ukpolice} | R Documentation |
Outcomes for a specific crime
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
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
## 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)
[Package ukpolice version 0.2.2 Index]