[Fan-Analytics] How to quantify the Fino Alla Fine spirit?

Analysis

Fino alla fine (until the end) is Juve's slogan. The goal is to find ways in which we can put a number on that spirit. For a given game, this is what I am thinking:

  1. If we can come back from a deficit to either draw or win the game.
  2. We hold on to a thin goal lead by defending well until the end.

Once we determine how to do it for a given game, we can then extend it for a whole season and beyond.

Here's the repo: https://github.com/hbdeshmukh/juve-analytics

Suggestions, feedback are welcome!

Posted Dec 17, 2021, 3:45 PM UTC

106
spizGaetano Scirea•

I can do decisive last-minute goals from trezebot's database and probably comebacks too (the database has goals against us).

The second criterion is harder - I don't have statistics on shots, possession, etc.

xG data from 2014 can probably be scraped off Understat, but good defending might deny xG to the other team.

I guess a good metric would be the possession by the opposing team in our half in the last minutes of the match, as long we don't concede. I have no idea how to get that kind of stat though.

3
pastimenangAlessandro Del Piero•

I might be able to do some scraping on the second part, let’s see

1
spizGaetano Scirea•

I'm sure you'd find this quite easily, but I've used this library in the past: https://understat.readthedocs.io/en/latest/

1
droidonomyMotta | JuveGoalBot•

Sounds like an interesting project. Can you explain a bit more about the process and analytics involved?

2
pastimenangAlessandro Del Piero•

I wrote a web-scraping script to extract match reports from fbref.com. They have a table of shots which we can use to maybe quantify the number of the opponent's shots on target and in total after we are leading by a fine margin? I created a pull request, and let me know what you think.

2
EnuffIsEnoughOPBuffon•

Thanks for your interest! I agree that the second aspect is more difficult. For the first one, I think just a sequence of goal events would be enough to begin with. It should be easy to determine if Juve came back from a defeat for a victory/draw.

1