Outcomes¶
-
class
Crime.
Outcome
(api, data={})¶ An outcome for an individual crime.
Parameters: - api (PoliceAPI) – The instance of
PoliceAPI
to use. - data (dict) – The attributes that will be copied to this instance.
-
crime
¶ Type: Crime The crime that this outcome refers to.
-
category
¶ Type: OutcomeCategory The category of this particular outcome.
-
date
¶ Type: str The month that this outcome was recorded in (
%m-%d
).
- api (PoliceAPI) – The instance of