Soccer Through the Ages
This dataset contains information on international soccer games throughout the years. It includes results of soccer games and information about the players who scored the goals. The dataset contains data from 1872 up to 2023.
💾 The data
data/results.csv
- CSV with results of soccer games between 1872 and 2023home_score
- The score of the home team, excluding penalty shootoutsaway_score
- The score of the away team, excluding penalty shootoutstournament
- The name of the tournamentcity
- The name of the city where the game was playedcountry
- The name of the country where the game was playedneutral
- Whether the game was played at a neutral venue or not
data/shootouts.csv
- CSV with results of penalty shootouts in the soccer gameswinner
- The team that won the penalty shootout
data/goalscorers.csv
- CSV with information on goal scorers of some of the soccer games in the results CSVteam
- The team that scored the goalscorer
- The player who scored the goalminute
- The minute in the game when the goal was scoredown_goal
- Whether it was an own goal or notpenalty
- Whether the goal was scored as a penalty or not
The following columns can be found in all datasets:
date
- The date of the soccer gamehome_team
- The team that played at homeaway_team
- The team that played away
These shared columns fully identify the game that was played and can be used to join data between the different CSV files.
Source: GitHub
Introduction
In my data analysis of international football results spanning from 1873, I have focused on showing the depth and range of my analytical skills. This includes unveiling the victorious nations since 1960, scrutinizing the distribution of total goals across minutes, deciphering top hat-trick scorers, and dissecting the proportion disparity between home and away wins. The spotlight then shifts to a more detailed examination of Euro 2024 winners, employing a range of visualizations to highlight their historical results to give an indication of future success in the tournament.
results
df
df1
df2
df3
df4
df7
Preliminary analysis
The data covered a range of types: TIMESTAMP WITH TIME ZONE, VARCHAR, BOOLEAN and BIG INT. I found no NULL values. The data covered the results from 146 tournments.
Initial analysis of results
I focused on 4 areas:
- the top 15 winning countries since 1960
- total goals scored per minute
- the 10 top hat trick scorers
- the proportiopn difference between home and away wins
df6