floodlight.io
Collection of file parsing functionalities for different data providers as well as loaders for public datasets.
Submodule Reference
Datasets
This dataset loads the EIGD-H data from the A Unified Taxonomy and Multimodal Dataset for Events in Invasion Games paper. |
|
This dataset loads the StatsBomb open data provided by the official data repository. |
|
This dataset loads synthetic data for a (very) short artificial football match. |
DFL
Parse DFL files and extract position data, possession and ballstatus codes as well as pitch information and teamsheets. |
|
Parses a DFL Match Event XML file and extracts the event data as well as teamsheets. |
|
Reads match_information XML file and returns the playing Pitch. |
|
Reads match_information XML file and returns two teamsheet objects for the home and the away team. |
Kinexon
Parses a Kinexon csv file and extracts position data. |
|
Creates a dictionary from the pID_dict linking the identifier to the xID. |
|
Reads Kinexon's position data file and extracts meta-data about groups, sensors, length and framerate. |
|
Reads first line of a Kinexon.csv-file and extracts the column names. |
Opta
Parse Opta's f24 feed (containing match events) and extract event data and pitch information. |
|
Tries to extract the feed type from Opta's XML feed. |
Second Spectrum
Parse Second Spectrum files and extract position data, possession and ballstatus codes, as well as pitch information. |
|
Parse Second Spectrums's Insight file (containing match events) and extract event data and pitch information. |
|
Parses the Second Spectrum meta.json-file and creates respective teamsheets for the home and the away team. |
Sportradar
Parses the Sportradar timeline files in json format and extracts the event data. |
StatsBomb
Parses files for a single match from the StatsBomb open dataset and extracts the event data and teamsheets. |
|
Reads open events and match files and returns Teamsheet objects for the home and the away team. |
StatsPerform
Parses a StatsPerform TXT file and extracts position data and teamsheets. |
|
Parses an open StatsPerform CSV file and extract position data and possession codes as well as teamsheets and pitch information. |
|
Reads a URL from the StatsPerform API (StatsEdgeViewer) containing a position data TXT file and extracts position data and teamsheets. |
|
Parses a StatsPerform XML file and extracts event data and pitch information. |
|
Parses an open StatsPerform Match Event CSV file and extracts the event data and teamsheets. |
|
Reads a URL containing a StatsPerform events CSV file and extracts the stored event data, pitch information, and teamsheets. |
|
Parses the StatsPerform position file and returns two simple Teamsheet-objects containing only two columns "player" and "jID" for the home and the away team. |
|
Parses the StatsPerform event file and returns two Teamsheet-objects with detailed player information for the home and the away team. |
|
Parses the entire open StatsPerform position data CSV file for unique jIDs (jerseynumbers) and creates teamsheets for both teams. |
Tracab (ChyronHego)
Parse TRACAB .dat-files (ASCII) and metadata (xml or json) and extract position data, possession and ballstatus codes, teamsheets as well as pitch information. |
|
Parses the entire TRACAB .dat file for unique jIDs (jerseynumbers) and creates respective teamsheets for the home and the away team. |
|
Reads TRACAB's metadata file (json format) and creates respective teamsheets for the home and the away team. |