socceraction.data.wyscout.PublicWyscoutLoader#

class socceraction.data.wyscout.PublicWyscoutLoader(root=None, download=False)#

Load the public Wyscout dataset.

This dataset is a public release of event stream data, collected by Wyscout (https://wyscout.com/) containing all matches of the 2017/18 season of the top-5 European leagues (La Liga, Serie A, Bundesliga, Premier League, Ligue 1), the FIFA World Cup 2018, and UEFA Euro Cup 2016. For a detailed description, see Pappalardo et al. 1.

Parameters
  • root (str) – Path where a local copy of the dataset is stored or where the downloaded dataset should be stored.

  • download (bool) – Whether to force a redownload of the data.

References

1

Pappalardo, L., Cintia, P., Rossi, A. et al. A public data set of spatio-temporal match events in soccer competitions. Sci Data 6, 236 (2019). https://doi.org/10.1038/s41597-019-0247-7

Methods

__init__

competitions

Return a dataframe with all available competitions and seasons.

events

Return a dataframe with the event stream of a game.

games

Return a dataframe with all available games in a season.

players

Return a dataframe with all players that participated in a game.

teams

Return a dataframe with both teams that participated in a game.