Git Product home page Git Product logo

wyscout-soccer-match-event-dataset's Introduction

Soccer match event dataset - processed

This repository contains the Wyscout data described in the 'A public data set of spatio-temporal match events in soccer competitions' paper, but processed to the regular Wyscout form. In this form it can be loaded by libraries like kloppy.

The dataset contains the following competitions:

Competition Number of games Season
French Ligue 1 380 2017/18
English Premier League 380 2017/18
Italian Serie A 380 2017/18
Spanish La Liga 380 2017/18
German Bundesliga 306 2017/18
Men’s FIFA World Cup 64 2018
Men’s UEFA Euro 51 2016

Andrew Rowlinson (2020): FOOTBALL SHOT QUALITY

Usage

The original files are processed to the regular JSON form. This makes it possible to load the data using kloppy. Since kloppy >=1.5.2 it's possible to access this dataset directly using the kloppy datasets api.

You can find all available matches in the index in the repository.

Load using datasets api

Note: make sure you have version >=1.5.2 of kloppy.

You can load the default match (2499841 - Huddersfield Town - Manchester City) using the dataset api:

from kloppy import datasets
dataset = datasets.load("wyscout")

If you want to use any other match you have to specify the match_id:

from kloppy import datasets
dataset = datasets.load("wyscout", match_id=2499843)

Local file

wget https://raw.githubusercontent.com/koenvo/wyscout-soccer-match-event-dataset/main/processed/1694390.json
from kloppy import load_wyscout_event_data
dataset = load_wyscout_event_data("1694390.json")

Sources

Type Format Url
Players JSON https://ndownloader.figshare.com/files/15073721
Teams JSON https://ndownloader.figshare.com/files/15073697
Matches Zipped JSON https://ndownloader.figshare.com/files/14464622
Events Zipped JSON https://ndownloader.figshare.com/files/14464685

References

Pappalardo, Luca; Massucco, Emanuele (2019): Soccer match event dataset. figshare. Collection. https://doi.org/10.6084/m9.figshare.c.4415000

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

Data source: publicly available on https://figshare.com/collections/Soccer_match_event_dataset/4415000/2

License

The data sets are released under the CC BY 4.0 License.

wyscout-soccer-match-event-dataset's People

Contributors

koenvo avatar koenvossen avatar

Stargazers

 avatar  avatar

Forkers

8funtik8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.