Giter Club home page Giter Club logo

last-row's Introduction

Last Row sample data

This repository was created to share new tracking data for educational (and recreational) purposes as part of the Friends of Tracking initiative.

The data was collected mainly to make the animations posted on twitter account @lastrowview, and it lacks the accuracy needed for research. Most notably, not all players are included in each play (although every player near the ball at any time is).

The main sample file is liverpool_2019.csv, which contains 19 goals scored by Livepool FC in 2019.

Columns included:

  • play: the scoreline after the goal. The team who scored the goal is the one next to the brackets.
  • frame: the frame number for the current location. Data provided has 20 frames per second.
  • player: the id of the player. The id is consistent within a play but not between plays.
  • player_num: the player jersey number. This number is the official one, and did not change for Liverpool in 2019. You can check the corresponding names at this wikipedia link.
  • x, y: coordinates for the player/ball. Pitch coordinates go from 0 to 100 on each axis.
  • dx, dx: change in (x,y) coordinates from last frame to current frame
  • z: height, from 0 to 1.5 (only filled for the ball)
  • bgcolor: the main color for the team (used as background color)
  • edgecolor the secondary color (used as edge color)

Getting started

You can get a feel for the dataset by checking the Jupyter Notebook included in this repository. Basic ploting is built on top of matplotlib, and animations are built with moviepy.

Feel free to use the dataset for whatever purpose, but please credit the source and let us know about it!

last-row's People

Contributors

rjtavares avatar

Watchers

James Cloos avatar

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.