socceraction.spadl¶
Implementation of the SPADL language.
Converters¶
Convert StatsBomb events to SPADL actions. |
|
Convert Opta events to SPADL actions. |
|
Convert Wyscout events to SPADL actions. |
|
Convert a Kloppy event data set to SPADL actions. |
Schema¶
Definition of a SPADL dataframe. |
Config¶
Convert a string or number to a floating point number, if possible. |
|
Convert a string or number to a floating point number, if possible. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
Utility functions¶
Perform all action in the same playing direction. |
|
Add the type name, result name and bodypart name to a SPADL dataframe. |
|
Return a dataframe with the type id and type name of each SPADL action type. |
|
Return a dataframe with the bodypart id and bodypart name of each SPADL action type. |
|
Return a dataframe with the result id and result name of each SPADL action type. |