Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add owngoal event for SB #219

Closed
wants to merge 1 commit into from
Closed

Add owngoal event for SB #219

wants to merge 1 commit into from

Conversation

AlienDeg
Copy link

@koenvo
Copy link
Contributor

koenvo commented Aug 30, 2023

Hi! Thanks for this PR.

Just did a quick check of the code.

We already have a way to define an Own Goal: https://github.com/PySport/kloppy/blob/master/kloppy/domain/models/event.py#L60

The Statsbomb deserializer should use a ShotEvent with result ShotResult.OWN_GOAL.

probberechts added a commit to probberechts/kloppy that referenced this pull request Nov 9, 2023
@koenvo koenvo closed this in #229 Nov 15, 2023
@koenvo koenvo modified the milestone: 3.14 - Pi Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants