socceraction.data.base.EventDataLoader

class socceraction.data.base.EventDataLoader

Load event data either from a remote location or from a local folder.

Parameters:
  • root (str) – Root-path of the data.

  • getter (str) – “remote” or “local”

Methods

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.