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

[Stats Perform] Deduce receiving player information for Pass event #249

Open
DriesDeprest opened this issue Dec 4, 2023 · 3 comments
Open

Comments

@DriesDeprest
Copy link
Contributor

DriesDeprest commented Dec 4, 2023

Unlike other data providers, Stats Perform does not give information about the pass receiver in the raw data of their pass events.

We could, however, deduce the receiving player ID from the next event. If we consider the next event after a successful pass and use the ID of the player executing that event, if the next event is a ball owning event.

@koenvo do you think this is a good idea?

@DriesDeprest
Copy link
Contributor Author

Bump :-)

@DriesDeprest
Copy link
Contributor Author

@probberechts what do you think about this?

@DriesDeprest DriesDeprest changed the title Deduct receiving player information for Opta deserializer for Pass event Deduce receiving player information for Opta deserializer for Pass event Dec 19, 2024
@DriesDeprest DriesDeprest changed the title Deduce receiving player information for Opta deserializer for Pass event [Stats Perform] Deduce receiving player information for Pass event Dec 19, 2024
@probberechts
Copy link
Contributor

Yes, this is a good idea. If you can reliably infer who is the intendend recipient of a pass, you can impute the receiver_player. It probably requires a few more checks though (e.g., filter out deflected passes, passes interrupted by a foul, etc.).

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

No branches or pull requests

2 participants