PySport / kloppy

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

Inconsistency in the player ID's used between different tracking data deserializers #254

Closed DriesDeprest closed 8 months ago

DriesDeprest commented 10 months ago

In our different tracking data deserializers, we are using different approaches to define the ID's of players. Below an overview of some providers to clarify the differences:

Is this behaviour intentional or the result of a not agreed upon standard?

I would have expected the provider ID's would be used where possible. Thus, that e.g. in the case of SkillCorner, we would use the SkillCorner player ID.

DriesDeprest commented 9 months ago

@koenvo any thoughts on this? I would like to work on a fix (but first make sure, you are aligned) to integrate it in my project.

koenvo commented 9 months ago

Agree on that provider ID should be used where possible.

What do you think @JanVanHaaren ?

JanVanHaaren commented 9 months ago

I agree. I would also expect that the data providers' identifiers are used. This approach would also improve the interoperability between kloppy and other systems and tools that typically use the data providers' identifiers.

DriesDeprest commented 8 months ago

Fixed with https://github.com/PySport/kloppy/pull/278