Index
kloppy.domain.DataRecord
dataclass
Bases: ABC
Base class for a data record in a dataset.
| ATTRIBUTE | DESCRIPTION |
|---|---|
dataset |
The dataset to which the record belongs.
TYPE:
|
prev_record |
The previous record in the dataset.
TYPE:
|
next_record |
The next record in the dataset.
TYPE:
|
record_id |
The unique identifier of the record. Given by the provider.
TYPE:
|
period |
The match period in which the observation occurred.
TYPE:
|
timestamp |
Timestamp of occurrence, relative to the period kick-off.
TYPE:
|
time |
The time of the observation. Combines
TYPE:
|
attacking_direction |
The attacking direction of the home team.
|
ball_owning_team |
The team that had possession of the ball.
TYPE:
|
ball_state |
The state of the ball at the time of the observation.
TYPE:
|