Skip to content

Releases: Alek050/databallpy

v0.5.3

10 Dec 12:42
Compare
Choose a tag to compare

What's Changed

  • Added way to get frame of tracking data based on team possession or event data team by @Alek050 in #251
  • Added easier way of getting filters on column ids by @Alek050 in #252
  • WIP: Bundesliga open data by @Alek050 in #253
  • Added ruff as linting manager by @Alek050 in #255
  • Logging wrapper by @Alek050 in #257
  • release for v0.5.2 by @Alek050 in #259
  • Statsbomb event parser by @DaanGro in #254
  • fixed bug opta positions by @Alek050 in #265
  • Add JSON parser for tracab metadata by @jan-swiatek in #266
  • Fixed some small bugs in synchronise, read tracab xml, and aligning players from tracking and event metadata by @Alek050 in #269

New Contributors

Full Changelog: v0.5.2...v0.5.3

v0.5.2

15 Nov 09:07
b89a2f6
Compare
Choose a tag to compare

V0.5.2 (15/11/2024)

  • Added match.get_column_ids with filters for team, player positions and minimal minutes played filters.
  • Added parser for DFL/Sportec Solutions event data
  • Added parser for Tracab xml format, used by DFL and Sportec solutions
  • Added integration for open data from DFL (open sourced by Bassek et al.)

Breaking changes

  • From now on, match.home_players_column_ids() and match.away_players_column_ids() are depreciated and will be removed in V0.7.0. Please use match.get_column_ids() in future version.
  • get_open_match() will now, by default, load in match J03WMX (1. FC Köln vs. FC Bayern München) instead of the anonimysed match from Metrica. To load in the metrica match, please parse provider="metrica" in the key word arguments.

Version 0.5.1

14 Oct 10:08
Compare
Choose a tag to compare
v0.5.1

ready for publish

Version 0.5.0

30 Jul 10:31
Compare
Choose a tag to compare
v0.5.0

mistake in readme

Version 0.4.3

15 Jan 19:24
Compare
Choose a tag to compare
v0.4.3

Ready for new version

Version 0.4.2

27 Oct 15:15
Compare
Choose a tag to compare
v0.4.2

Changes ready for publish

Version 0.4.1

10 Oct 08:28
Compare
Choose a tag to compare

Changelog V0.4.1 (10/10/2023)

  • Fixed bugs with reading in tracab data in special cases
  • Fixed bus with reading in opta data in special cases
  • Added tracking data passes features
  • Added tracking data shot features
  • optimized performance of processing data

Version 0.4.0

21 Sep 14:24
Compare
Choose a tag to compare

Addition of databallpy events

0.3.1

02 Jun 20:07
e2e94f0
Compare
Choose a tag to compare
Version 0.3.1 (#105)

* Updated CONTRIBUTION.md

* updated consoles

* Added pull request description format

* added that pull requests should be opened to the develop branch

* Added Metadata class

* Fixed linting

* isort bs

* Fixed comments pull request

* 2: Feature to load opta event data. (#12)

* WIP started in loading event metadata

* changes

* resolved merge confilcts

* added metadataloader

* Finished with import of opta event data

* minor change to contributing.md

* changes to linters

* added test data

* requested changes

* 5: Elaborate pyproject.toml with classifiers. (#19)

* changed pyproject.toml

* Changed docs loc

* 1 feature parse tracab data (#18)

* WIP started with loading tracking data tracab

* Tested automatic docstring creation

* added bs4 and lxml, added metadata pareser and started docstrings

* Added more docstrings

* Added tqdm package, implemented progress bar, finished adding docstrings

* fixing big .dat file

* linters

* changed _get_lines_dat_file

* fixed comments on functions

* Added tests

* added _to_match_time (WIP)

* Improved _get_matchtime

* Fixed comments pull request

* Added tests for _get_matchtime

* linters

* Fixed period_start_dict

* Fixed lowercase and home/away-issue

* linters

* Removed whitespace if no firstname

* 13: feature, add match class. (#21)

* WIP started with loading tracking data tracab

* Tested automatic docstring creation

* added bs4 and lxml, added metadata pareser and started docstrings

* Added more docstrings

* Added tqdm package, implemented progress bar, finished adding docstrings

* fixing big .dat file

* linters

* changed _get_lines_dat_file

* fixed comments on functions

* Added tests

* added start to match class

* added _to_match_time (WIP)

* implemented with tracab code

* tests passed

* started on tests

* finished match class

* resolved conflicts

* resolved conflicts

---------

Co-authored-by: Daan <[email protected]>

* 17 feature visualise tracking data (#23)

* WIP started with loading tracking data tracab

* Tested automatic docstring creation

* added bs4 and lxml, added metadata pareser and started docstrings

* Added more docstrings

* Added tqdm package, implemented progress bar, finished adding docstrings

* fixing big .dat file

* linters

* changed _get_lines_dat_file

* added function to plot pitch

* fixed comments on functions

* WIP added function to save a match clip

* Added tests

* added start to match class

* added _to_match_time (WIP)

* implemented with tracab code

* tests passed

* started on tests

* finished match class

* resolved minor differences

* added visualise test sort of

* hide the event plot function

* added matplotlib to dependencies

* added ffmpeg

* added small comment on ffmpeg

* resolved test error due to ffmpeg

---------

Co-authored-by: Daan <[email protected]>

* 3 docs write documentation (#27)

* added sphinx docs

* changed readme

* updated readme

* spelling mistake

* spelling mistake

* add visualising info

* changes

* Update README.md

added video to readme

* Update README.md

* Update README.md

* changes

* linters

* changes optimized tests (#28)

* hot fix for documentation (#30)

* changes optimized tests

* changes

* docs hotfix

* updated example

* changes

* Hot fix (#32)

* changes optimized tests

* changes

* docs hotfix

* updated example

* changes

* changed example

* did this work?

* Check if ffmpeg is installed on device and added tests for databallpy.visualize.py (#41)

* added ffmpeg checker

* linters

* update .yml

* linters

* new trial

* added tests for visualize

* linters....

* 24 feat visualize events (#42)

* added ffmpeg checker

* linters

* update .yml

* linters

* new trial

* added tests for visualize

* linters....

* events_plot

* added event plots

* Add parser for open Metrica tracking and event data (#39)

* added parser for metrica tracking data

* updated tests

* finished tracking data with tests

* added event data parser

* finished baby

* changed documentation

* changes

* linters

* requested changes

* 16 feat synchronise (#43)

* Started sync function

* WIP working on synch function

* First version

* refactor and docs

* Improved speed of sync

* finished event and tracking synch

* Small refactor

* finished tests

* Linters fixed

* fixed lock-file

* fixed test_data path

* Removed warning

* Adressed git comments

* Fixed tests after updates merge conflicts

* Added test for save_match_clip with events

* Fixed linters

* Fixed comments

* Changed function place to seperate file

* Added test for _add_periods_to_tracking_data

* Fixed linters

* Fixed all Nan-slice warning

* Removed pdb

* Changed all int32 to int64

* Refactor to add validators to the Match and Metadata Class, also added normalization in tracking and event data direction (#45)

* finished checking for metadata

* added validators

* almost finished tests for tracking data

* finished tracking data part

* Finished

* Removed pdb

* fixed version error

* Fixed tests after merge conflicts, update _get_matchtime

* Changed all datetimes to pd.to_datime(date)+dt.timedelta()

* Fixed pull request comments

* Linters

* Changed docstring

---------

Co-authored-by: Daan <[email protected]>

* Refactor sync event and tracking data, initialize time difference to kick off. #48

* 34 feat update example.ipynb, readme for new version (#49)

* started adding changes

* almost finished

* fixed match things

* changed version

* removed rubbish file

* changes

* version 0.2.1

* version 0.2.2

* version 0.2.2

* version 0.2.2

* Added videos of synced vs not synced to readme

* Make docs work (#51)

* retry

* example

* rechanged docs

* hoping

* changed version

* docs

* added videos

* change readme

* retry

* changes

* changes

* changes

* changes

* linters

* conf.py

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* back to basics

* nbshipinx

* added nbshpinx to requirements.txt

* myst_nb execution time

* changed

* changes

* ffmpeg

* ffmpeg

* ffmpeg

* ffmpeg

* apt_packages

* added verbose

* readme video

* changes

* changed readme

* changes

* video files

* version 0.2.3

* forgot one

* Changed sync and fixed metrica channels (#59)

* Changed sync and fixed metrica channels

* Fixed pull commments

* Fixed CamelCases

* changed videos (#61)

* Added match.copy() function (#62)

* refactor finished bitch (#63)

* Fixed bug, own goal is now a seperate event in the opta event data (#69)

* Added way to save a Match object, and load saved Match objects (#68)

* refactor finished bitch

* Made a convenient way to save and load saved Match objects

* changed changelog

---------

Co-authored-by: DaanGro <[email protected]>

* 14 feature parse fifa data (#65)

* started parsing fifa format data

* writing fifa parser functions

* metadata parser complete

* Loading in td fifa format kkd

* Added docstrings

* Finished fifa and instat loading

* Added tests for fifa tracking data

* Changed post init match pitch axis

* Added test files for test_fifa

* Added tests for instat events

* Changed fifa to inmotio and added docstrings

* Added tests for inmotio

* Linters

* Adressed comments pull request

* Fixed tests

* Linters

* Added parsers to changelog

* Linters

* Changed get_matching_full_name

* Linters

* Added features to make the match class more widely usable (#71)

* Added localizer to all datetime objects (#74)

* Refactor of match.py to make it better readable (#76)

* refactored match.py

* now with new files

* pandas2.0 support (#81)

* fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)

* feat(pandas2.0): add support for pandas==^2.0.1

* Revert "fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)"

This reverts commit 0052bf6728233f3a45b137cd6c5da3b78af9fab3.

* Revert "pandas2.0 support (#81)" (#83)

This reverts commit 77a5a3565659c232a66bcfbaf391890f53080f8e.

* Test pandas2.0 support (#84)

* fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)

* feat(pandas2.0): add support for pandas==^2.0.1

* Revert "fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)"

This reverts commit 0052bf6728233f3a45b137cd6c5da3b78af9fab3.

---------

Co-authored-by: Radu <[email protected]>
Co-authored-by: Radu Gheorghe <[email protected]>

* Added MISSING_INT global variable (#87)

* updated dependencies (#86)

* fix(synchronise_tracking_and_event_data): fix check for missing playe… (#79)

* fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)

* test(test_synchronise_tracking_and_event_data): test for missing and unknown players

* style(test_synchronise_tracking_and_event_data): fix flake8

* refactor(test_synchronise_tracking_and_event_data): fix black linter

* refactor(MISSING_INT): replace hardcoded with imported variable

* test(test_synchronise_tracking_and_event_data): refactor tests

* 75 enhancement data quality check (#77)

* WIP

* Added sanity checks for tracking data and tests

* Fixed merge request comments

* Added MISSING_INT

* fix(allowed-formation-length): increase allowed formation length 4->5 (#97)

* 93 fix utc timestamps not present (#94)

* fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)

* feat(pandas2.0): add support for pandas==^2.0.1

* fix(load_opta_event_data): replace usage of utc timestamps that are not present in older matches with regular timestamps

* fix(load-opta-metadata): fix loading of metadata with multiple (2-legged) matches (#100)

* Added warning when there is not enough player data (#101)

* Added extra quality check if player data is available

* changelog

* Origin/88 fix synchronising infinite loop (#102)

* fix(synchronise_tracking_and_event_data): fix check for missing player id which is now -999 (previously NaN)

* feat(pandas2.0): add support for pandas==^2.0.1

* fix(_needleman_wunsch): fix infinite loop created by missing player coordinates in tracking data

* remove additional code

* changed formula

* Restored formula

* Changed formula sim mat

* Added tests

* fixed incorrect formula, changed tests

---------

Co-authored-by: Radu <[email protected]>
Co-authored-by: Radu Gheorghe <[email protected]>

* Updated ReadMe.md and set everything ready for a version upgrade (#103)

* updated readme

* updated readme and ready for version upgrade

* forgot readme

* minor error

* changed error in get_open_match

* fixed minor bug

---------

Co-authored-by: Daan <[email protected]>
Co-authored-by: DaanGro <[email protected]>
Co-authored-by: Radu Gheorghe <[email protected]>
Co-authored-by: Radu <[email protected]>

v0.2.3

12 Mar 15:37
Compare
Choose a tag to compare
updated readme to include links to video