Event
kloppy.domain.Event
dataclass
Bases: DataRecord
, ABC
Abstract event baseclass. All other event classes inherit from this class.
ATTRIBUTE | DESCRIPTION |
---|---|
event_id |
Event identifier given by provider. Alias for
TYPE:
|
event_type |
The type of event.
TYPE:
|
event_name |
Name of the event type.
TYPE:
|
time |
Time in the match the event takes place.
TYPE:
|
coordinates |
Coordinates where event happened.
TYPE:
|
team |
Team related to the event.
TYPE:
|
player |
Player related to the event.
TYPE:
|
ball_owning_team |
Team in control of the ball during the event.
TYPE:
|
ball_state |
Whether the ball is in play.
TYPE:
|
raw_event |
The data provider's raw representation of the event.
TYPE:
|
dataset |
A reference to the dataset the event is part of.
TYPE:
|
prev_record |
A reference to the previous event.
TYPE:
|
next_record |
A reference to the next event.
TYPE:
|
related_event_ids |
Event identifiers of related events.
TYPE:
|
freeze_frame |
A snapshot with the location of other players at the time of the event.
TYPE:
|
attacking_direction |
The playing direction of
TYPE:
|
state |
Additional game state information.
TYPE:
|