PySport / kloppy

kloppy: standardizing soccer tracking- and event data
https://kloppy.pysport.org
BSD 3-Clause "New" or "Revised" License
328 stars 55 forks source link

Deduct receiving player information for Opta deserializer for Pass event #249

Open DriesDeprest opened 7 months ago

DriesDeprest commented 7 months ago

Unlike other data providers, Opta 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 has a type one of the ball owning events.

@koenvo do you think this is a good idea?

DriesDeprest commented 6 months ago

Bump :-)