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

Fix StatsBomb create_periods #313

Closed DriesDeprest closed 1 month ago

DriesDeprest commented 1 month ago

Wrote a fix for: https://github.com/PySport/kloppy/issues/312

Updated the create periods method of StatsBomb parser, so it does not fail if in the raw event data multiple period start or period end events are present for the same period and team.

koenvo commented 1 month ago

Can you please merge master in to make sure the tests run?