PySport / kloppy

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

Time-based positions + MinutedPlayed Aggregator #326

Closed koenvo closed 2 weeks ago

koenvo commented 3 weeks ago

This PR adds:

  1. A TimeContainer to handle properties that change during a match, like Player Position, or Team Formation
  2. initial_position as the Position of a player from the metadata. The Player.position is pointing to the new TimeContainer.last value
  3. EventDatasetAggregator and MinutesPlayedAggregator. This returns the minutes played for a player, possible with position.