1 of 32

Building

end-to-end

football match

statistics

PojokStats | 2023

2 of 32

Steps for building football match statistics:

  1. Defining action
  2. Collecting data
  3. Data visualizations

3 of 32

An example of a mistake in

defining an

action

Persikabo 1973 v Persebaya Liga 1 Indonesia 2022/23.

Here are the mistakes I've made in understanding xT (xThreat).

Click here!

4 of 32

Defining Action

01 | Goalkeeping

02 | Defensive Action

03 | Disciplinary

04 | Ball Control

05 | Attacking Action

5 of 32

01

Goalkeeping

6 of 32

Goalkeeping

Wyscout Glossary

Cross into the penalty area

  1. Opponent Cross (Opp Cross)

A ball played from the offensive flanks aimed towards a teammate in the area in front of the opponent’s goal.

Includes just open play crosses, not set play crosses (corners/free kicks).

Action to note: Saved and punch.

7 of 32

Goalkeeping

Wyscout Glossary

Long shot from Marcelo

  • Opponent Shot (Opp Shot)

An attempt towards the opposition's goal with the intention of scoring.

Blocked shots, penalties, and direct free kicks are also considered as shots.

Action to note: Saved and punch.

8 of 32

Goalkeeping

Wyscout Glossary

Panditfootball

A save by Rui Patricio.

A punch by Ederson Moraes.

  1. Saved

A successful attempt from the goalkeeper to prevent a shot from being scored.

Punch or secure the ball away from the goal.

9 of 32

Goalkeeping

Wyscout Glossary

A shot on goal faced by Ernando Ari.

A shot that Alisson failed to anticipate, and resulted in a goal.

Blocked shots, penalties, and direct free kicks are also considered as shots.

A goal scored by an opponent as specified in law 10.1 of the IFAB Laws of the Game.

10 of 32

02

Defensive Action

11 of 32

Defensive Action

Panditfootball

Tim Ream, left, tries to block a shot from Ilkay Gundogan.

  1. Block

A player's effort in blocking a shot or cross.

Action to note: Shots and cross.

12 of 32

Defensive Action

Wyscout Glossary

Clearance after a cross.

An Action (generally a pass) when the player, while having other option, to pass or to hold the ball, is instead clearing it, either with a long pass forward without a precise target or for a throw in/corner kick, playing safe.

13 of 32

Defensive Action

Wyscout Glossary

Virgil van Dijk doing a sliding tackle.

An aggressive slide on the ground in the legs of the opposition player with a clear intention to dispossess the opponent or to clear the ball out.

Action to note: Success and fail.

14 of 32

Defensive Action

Jobs in Football

Harry Kane of Tottenham Hotspur shielding the ball from Sean Morrison of Cardiff City

In football, the term shielding is used for a very specific skill designed to help players (and therefore their team) maintain possession of the ball, even when under intense pressure from opponents.

15 of 32

03

Disciplinary

16 of 32

Disciplinary

Wyscout Glossary

A foul by E. Garay

  1. Fouls

An offence committed by a player according to law 12 (1, 3) of the IFAB Laws of the Game.

Action to note: Made and by opponent.

17 of 32

Disciplinary

Wyscout Glossary

Yellow card for Gareth Barry

Red card for Zidane.

  • Card

Yellow card and red card

Disciplinary action by the referee that is indicated by showing a yellow card and red card according to law 12.3 of the IFAB Laws of the Game.

Action to note: Yellow and Red.

18 of 32

04

Ball

Control

19 of 32

Ball Control

TheAnalyst

Messi had the ball and managed to control the ball past several players.

Are defined as one or more sequences in a row belonging to the same team. A possession is ended by the opposition gaining control of the ball.

Action to note: Gained and lost.

20 of 32

Ball Control

PojokStats

Messi had the ball and managed to control the ball past several players.

  • Error

Players fail to control the ball when the control is too far out of reach.

21 of 32

Ball Control

Wyscout Glossary

An aerial duel following a corner kick

When two or more players from opposing teams jump to compete for the ball.

Action to note: Won and lost.

22 of 32

Ball Control

Wyscout Glossary

An aerial duel following a corner kick

  1. Aerial duels aren’t currently divided into offensive and defensive categories.
  2. If there are more then two players competing for the ball at the same time, an aerial duel will be recorded for all opposing players.

23 of 32

Ball Control

Wyscout Glossary

Fede Valverde with a take on.

Marcelo doing dribble with a space.

An attempt to move past an opposing player whilst trying to maintain possession of the ball.

Action to note: Success, failed, and passed.

24 of 32

05

Attacking Action

25 of 32

Attacking Action

Wyscout Glossary

Cross into the penalty area.

A ball played from the offensive flanks aimed towards a teammate in the area in front of the opponent’s goal.

Action to note: Complete and failed.

26 of 32

Attacking Action

Stats Perform

Chance created Lionel Messi.

Assists plus Key passes.

Action to note: Key pass and assist.

27 of 32

Attacking Action

Wyscout Glossary

Long shot from Marcelo

An attempt towards the opposition's goal with the intention of scoring.

Action to note: Blocked, on target, and off target.

28 of 32

Attacking Action

Witan failed to score against an empty Thai goal.

Stats Perform

An attempt towards the opposition's goal with the intention of scoring.

29 of 32

Attacking Action

Bruno Moreira scored against Persis in the first week of Liga 1 Indonesia.

Wyscout Glossary

A goal scored as specified in law 10.1 of the IFAB Laws of the Game.

30 of 32

Collecting data

Illustration of recording live football match statistics.

  1. 1 team of 5 people
  2. Each person is responsible for the action on the field:
  3. Goalkeeping
  4. Defensive action
  5. Disciplinary
  6. Ball control
  7. Attacking action
  8. Each person is in charge of recording every action taken by players on the field

Click here!

31 of 32

Data

visualizations

PSIS v PERSEBAYA full time stats in week 3 of Liga 1 Indonesia.

In this last step, we will learn to create simple data visualizations using Python.

Click here!

32 of 32

Thanks

Do you have any questions?�pojokstats@gmail.com�pojokstats.carrd.co