SkillCorner
kloppy.skillcorner
Functions for loading SkillCorner broadcast tracking data.
load
Load SkillCorner broadcast tracking data.
| PARAMETER | DESCRIPTION |
|---|---|
meta_data
|
A json feed containing the meta data.
TYPE:
|
raw_data
|
A json feed containing the raw tracking data.
TYPE:
|
sample_rate
|
Sample the data at a specific rate.
TYPE:
|
limit
|
Limit the number of frames to load to the first
TYPE:
|
coordinates
|
The coordinate system to use.
TYPE:
|
include_empty_frames
|
Include frames in which no objects were tracked.
TYPE:
|
only_alive
|
Only include frames in which the game is not paused.
TYPE:
|
data_version
|
Specify the input data version.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
TrackingDataset
|
The parsed tracking data. |
Source code in kloppy/_providers/skillcorner.py
load_open_data
Load SkillCorner open data.
This function loads tracking data directly from the SkillCorner open data GitHub repository.
| PARAMETER | DESCRIPTION |
|---|---|
match_id
|
The id of the match to load data for.
TYPE:
|
sample_rate
|
Sample the data at a specific rate.
TYPE:
|
limit
|
Limit the number of frames to load to the first
TYPE:
|
coordinates
|
The coordinate system to use.
TYPE:
|
include_empty_frames
|
Include frames in which no objects were tracked.
TYPE:
|
only_alive
|
Only include frames in which the game is not dead.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
TrackingDataset
|
The parsed tracking data. |