socceraction
socceraction copied to clipboard
Add Kloppy as reader
The goal of this PR is to track progress on #41.
Supported action types
SPADL action | Kloppy EventType | Tasks |
---|---|---|
pass | PASS | - Get end coordinates of failed passes. |
cross | PASS + PassQualifier:CROSS | ✅ Done |
throw_in | PASS + SetPieceQualifier:THROW_IN | ✅ Done |
freekick_crossed | PASS + SetPieceQualifier:FREE_KICK + PassQualifier:[?] | - Check which pass type qualifiers should be used |
freekick_short | PASS + SetPieceQualifier:FREE_KICK | ✅ Done |
corner_crossed | PASS + SetPieceQualifier:CORNER_KICK + PassQualifier:[?] | - Check which pass type qualifiers should be used |
corner_short | PASS + SetPieceQualifier:CORNER_KICK | ✅ Done |
take_on | TAKE_ON | ✅ Done |
foul | FOUL_COMMITTED | - Result can be a yellow or red card. This is a separate event in Kloppy. |
tackle | 🔒 https://github.com/PySport/kloppy/issues/135 | |
interception | RECOVERY | - Result should be "failed" if the ball is lost again immediately after the recovery event. This can be retrieved from the next event. |
shot | SHOT | ✅ Done |
shot_penalty | SHOT + SetPieceQualifier:PENALTY | ✅ Done |
shot_freekick | SHOT + SetPieceQualifier:FREE_KICK | ✅ Done |
keeper_save | 🔒 https://github.com/PySport/kloppy/issues/138 | |
keeper_claim | 🔒 https://github.com/PySport/kloppy/issues/138 | |
keeper_punch | 🔒 https://github.com/PySport/kloppy/issues/138 | |
keeper_pick_up | 🔒 https://github.com/PySport/kloppy/issues/138 | |
clearance | 🔒 https://github.com/PySport/kloppy/issues/137 | |
bad_touch | 🔒 https://github.com/PySport/kloppy/issues/136 | |
non_action | / | ✅ Done |
dribble | CARRY | ✅ Done |
goalkick | PASS + SetPieceQualifier:GOAL_KICK | ✅ Done |
Other tasks
- [x] Fix orientation transform