UEFA_Euro_2020_Data / README.md
ForzaJuve1's picture
Update README.md
04b970c verified
---
annotations_creators:
- no-annotation
language:
- en
multilinguality:
- monolingual
size_categories:
- 100K<n<1M
source_datasets:
- original
task_categories:
- summarization
- feature-extraction
- other
pretty_name: UEFAEuro2020Dataset
tags:
- football
- soccer
- Euro 2020 tournament
- sports analytics
- sports
dataset_info:
features:
- name: HomeTeamName
dtype: string
- name: AwayTeamName
sequence: string
- name: DateandTimeCET
dtype: string
- name: MatchID
dtype: int64
- name: RoundName
dtype: string
- name: Stage
dtype: string
- name: MatchDay
dtype: int64
- name: Session
dtype: int64
- name: MatchMinute
dtype: int64
- name: InjuryTime
dtype: int64
- name: NumberOfPhases
dtype: int64
- name: Phase
dtype: int64
- name: ScoreHome
dtype: int64
- name: ScoreAway
dtype: int64
- name: MatchStatus
dtype: string
- name: StadiumID
dtype: int64
- name: RefereeWebName
dtype: string
- name: NumberofMatchesRefereedPostMatch
dtype: int64
- name: TotalNumberofMatchesRefereed
dtype: int64
- name: NumberofMatchesRefereedinGroupStage
dtype: int64
- name: NumberofMatchesRefereedinKnockoutStage
dtype: int64
- name: AssistantRefereeWebName
dtype: string
- name: Humidity
dtype: int64
- name: Temperature
dtype: int64
- name: WindSpeed
dtype: int64
- name: MatchEvent
dtype: dict
- name: TeamLineUps
dtype: dict
- name: TeamStats
dtype: dict
- name: PlayerStats
dtype: dict
- name: PlayerPreMatchInfo
dtype: dict
splits:
- name: train
num_bytes: 1048576
num_examples: 51
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# Euro 2020 Dataset Card
## Table of Contents
- [Dataset Description](#dataset-description)
- [Dataset Summary](#dataset-summary)
- [Data Processing](#data-processing)
- [Supported Tasks](#supported-tasks)
- [Languages](#languages)
- [Dataset Structure](#dataset-structure)
- [Data Instance](#data-instance)
- [Data Fields](#data-fields)
- [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
- [Curation Rationale](#curation-rationale)
- [Source Data](#source-data)
- [Limitations](#limitations)
- [Citation](#citation)
## Dataset Description
### Dataset Summary
This dataset contains highly detailed information on each of the 51 matches in the UEFA Euro 2020 tournament composed and aggregated from 6 original csv files. Each row represents the information for each match and the columns constitute a wide range of variables on basic match information, referee information and statistics, match events in different phases of a match, team line-up and squad information, team statistics and player statistics on different areas of the game, and player-based pre-match information.
### Data Processing
Please see the 'uefa_euro2020_processing.py' file for detailed processing code and procedures.
### Supported Tasks
The dataset preserves most of the supported tasks of the original source data. The new structure of the data also enables performing other tasks especially in terms of investigating the relationships between different level (individual player, team, match, match event, etc.) by composing and aggregating the original data. Some examples include:
- Extract and visualize key statistics for players, teams, referees, and other participants within and across matches.
- Investigate how key team statistics, such as shots on target and total distance covered, associate with the outcome of the match through EDA, regression analysis, feature importance analysis, or other methods.
- Explore the potential associations between certain player statistics and relevant team statistics.
- Analyze the change of tactics by a team over the tournament through its line up information and its team statistics.
- Investigate how pre-match tallies, such as goal streak, clean sheet streak, whether the player is benched in the previous match, and whether the player will be suspended if booked, affect a players' performance in the next match.
- Other data story-telling tasks about events during a match and across the tournament.
- Decompose the nested variables or the broader data structure for user-specific purposes.
### Languages
- English
## Dataset Structure
### Data Instance
For the flat variables without nested structures:
```
{
"HomeTeamName": "Italy",
"AwayTeamName": "England",
"DateandTimeCET": "2021-07-11T21:00:00",
"MatchID": 2024491,
"RoundName": "final",
"Stage": "Knockout Stage",
"MatchDay": 7,
"Session": 1,
"MatchMinute": 120,
"InjuryTime": 9,
"NumberOfPhases": 2,
"Phase": 5,
"ScoreHome": 1,
"ScoreAway": 1,
"MatchStatus": "played",
"StadiumID": 1100043,
"RefereeWebName": "Kuipers",
"TotalNumberofMatchesRefereed": 4,
"NumberofMatchesRefereedinGroupStage": 4,
"NumberofMatchesRefereedinKnockoutStage": 2,
"AssistantRefereeWebName": "Van Roekel",
"Humidity": 68,
"Temperature": 19,
"WindSpeed": 13
}
```
For the nested variables, since the nested structures are complex and long, it will be difficult to show a complete instance here. I will instead provide the structure.
```
{
"MatchEvent": Features({
"1-First Half": Sequence(Features({
"Event": Value("string"),
"Minute": Value("int64"),
"Phase": Value("int64"),
"InjuryMinute": Value("int64"),
"TeamFromID": Value("float"),
"TeamToID": Value("float"),
"PlayerFromID": Value("float"),
"PlayerToID": Value("float"),
"Time": Value("string"),
"MatchEventAttribute": Value("string"),
})),
"2-Second Half": Sequence(Features({
"Event": Value("string"),
"Minute": Value("int64"),
"Phase": Value("int64"),
"InjuryMinute": Value("int64"),
"TeamFromID": Value("float"),
"TeamToID": Value("float"),
"PlayerFromID": Value("float"),
"PlayerToID": Value("float"),
"Time": Value("string"),
"MatchEventAttribute": Value("string"),
})),
"3-Extra Time First Half": Sequence(Features({
"Event": Value("string"),
"Minute": Value("int64"),
"Phase": Value("int64"),
"InjuryMinute": Value("int64"),
"TeamFromID": Value("float"),
"TeamToID": Value("float"),
"PlayerFromID": Value("float"),
"PlayerToID": Value("float"),
"Time": Value("string"),
"MatchEventAttribute": Value("string"),
})),
"4-Extra Time Second Half": Sequence(Features({
"Event": Value("string"),
"Minute": Value("int64"),
"Phase": Value("int64"),
"InjuryMinute": Value("int64"),
"TeamFromID": Value("float"),
"TeamToID": Value("float"),
"PlayerFromID": Value("float"),
"PlayerToID": Value("float"),
"Time": Value("string"),
"MatchEventAttribute": Value("string"),
})),
"5-Penalty Shootout": Sequence(Features({
"Event": Value("string"),
"Minute": Value("int64"),
"Phase": Value("int64"),
"InjuryMinute": Value("int64"),
"TeamFromID": Value("float"),
"TeamToID": Value("float"),
"PlayerFromID": Value("float"),
"PlayerToID": Value("float"),
"Time": Value("string"),
"MatchEventAttribute": Value("string"),
})),
}),
"TeamLineUps": Features({
"HomeTeamLineUp": Features({
"Starting11": Sequence(Features({
"Country": Value("string"),
"ID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"ShortName": Value("string"),
"Role": Value("string"),
"JerseyNumber": Value("string"),
"IsGoalkeeper": Value("string"),
"JerseyName": Value("string"),
"IsCaptain": Value("string"),
"TacticX": Value("string"),
"TacticY": Value("string"),
"Numorder": Value("string"),
"IsBooked": Value("float"),
})),
"Benched Players": Sequence(Features({
"Country": Value("string"),
"ID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"ShortName": Value("string"),
"Role": Value("string"),
"JerseyNumber": Value("string"),
"IsGoalkeeper": Value("string"),
"JerseyName": Value("string"),
"IsCaptain": Value("string"),
"TacticX": Value("string"),
"TacticY": Value("string"),
"Numorder": Value("string"),
"IsBooked": Value("float"),
})),
"Staff": Sequence(Features({
"Country": Value("string"),
"ID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"ShortName": Value("string"),
"Role": Value("string"),
})),
}),
"AwayTeamLineUp": Features({
"Starting11": Sequence(Features({
"Country": Value("string"),
"ID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"ShortName": Value("string"),
"Role": Value("string"),
"JerseyNumber": Value("string"),
"IsGoalkeeper": Value("string"),
"JerseyName": Value("string"),
"IsCaptain": Value("string"),
"TacticX": Value("string"),
"TacticY": Value("string"),
"Numorder": Value("string"),
"IsBooked": Value("float"),
})),
"Benched Players": Sequence(Features({
"Country": Value("string"),
"ID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"ShortName": Value("string"),
"Role": Value("string"),
"JerseyNumber": Value("string"),
"IsGoalkeeper": Value("string"),
"JerseyName": Value("string"),
"IsCaptain": Value("string"),
"TacticX": Value("string"),
"TacticY": Value("string"),
"Numorder": Value("string"),
"IsBooked": Value("float"),
})),
"Staff": Sequence(Features({
"Country": Value("string"),
"ID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"ShortName": Value("string"),
"Role": Value("string"),
})),
}),
}),
"TeamStats": Features({
"HomeTeamStats": Features({
"attacking": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"coverage&speed": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"defending": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"goalkeeping": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"matches played": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"possession": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"time stats": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"violation&foul&discipline": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
}),
"AwayTeamStats": Features({
"attacking": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"coverage&speed": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"defending": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"goalkeeping": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"matches played": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Rank": Value("int64"),
})),
"possession": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"time stats": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"violation&foul&discipline": Sequence(Features({
"TeamID": Value("int64"),
"TeamName": Value("string"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
}),
}),
"PlayerStats": Features({
"HomeTeamPlayerStats": Features({
"attacking": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"coverage&speed": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"defending": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"goalkeeping": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"matches played": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"possession": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"time stats": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"violation&foul&discipline": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
}),
"AwayTeamPlayerStats": Features({
"attacking": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"coverage&speed": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"defending": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"goalkeeping": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"matches played": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"possession": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"time stats": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
"violation&foul&discipline": Sequence(Features({
"PlayerID": Value("int64"),
"PlayerName": Value("string"),
"PlayerSurname": Value("string"),
"IsGoalkeeper": Value("bool"),
"PlayedTime": Value("int64"),
"StatsID": Value("int64"),
"StatsName": Value("string"),
"Value": Value("string"),
"Rank": Value("int64"),
})),
}),
}),
"PlayerPreMatchInfo": Features({
"HomeTeamPlayerInfo": Sequence(Features({
"PlayerID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"JerseyName": Value("string"),
"ShortName": Value("string"),
"GoalScored": Value("float"),
"CleanSheet": Value("float"),
"SuspendedIfBooked": Value("bool"),
"Role": Value("string"),
})),
"AwayTeamPlayerInfo": Sequence(Features({
"PlayerID": Value("int64"),
"OfficialName": Value("string"),
"OfficialSurname": Value("string"),
"JerseyName": Value("string"),
"ShortName": Value("string"),
"GoalScored": Value("float"),
"CleanSheet": Value("float"),
"SuspendedIfBooked": Value("bool"),
"Role": Value("string"),
})),
}),
}
```
### Data Fields
- `HomeTeamName`: Name of the home team.
- `AwayTeamName`: Name of the away team.
- `DateandTimeCET`: Date and time of the match in Central European Time (CET).
- `MatchID`: A unique identifier for the match.
- `RoundName`: The round of the competition (e.g. semi-final, final).
- `Stage`: The competition stage (e.g. Group stage, Knockout Stage).
- `MatchDay`: The matchday number within the competition.
- `Session`: The session number of the match.
- `MatchMinute`: Total minutes played in the match.
- `InjuryTime`: Total injury time added.
- `NumberOfPhases`: Number of phases in the match.
- `Phase`: Current phase of the match.
- `ScoreHome`: Final score for the home team.
- `ScoreAway`: Final score for the away team.
- `MatchStatus`: Status of the match (e.g., played).
- `StadiumID`: Unique identifier for the stadium.
- `RefereeWebName`: Name of the referee.
- `TotalNumberofMatchesRefereed`: Total number of matches refereed by the official.
- `NumberofMatchesRefereedinGroupStage`: Number of matches refereed in the group stage.
- `NumberofMatchesRefereedinKnockoutStage`: Number of matches refereed in the knockout stage.
- `AssistantRefereeWebName`: Name of the assistant referee.
- `Humidity`: Humidity percentage at the match venue.
- `Temperature`: Temperature at the match venue in Celsius.
- `WindSpeed`: Wind speed at the match venue in km/h.
- `MatchEvent`: The event information in different phases of the game.
- `TeamLineUps`: The starting 11, benched players, and staff information for home and away team.
- `TeamStats`: The detailed team-level statistics for home and away team categorized into different game areas (eg. attacking, defending, etc.).
- `PlayerStats`: The detailed player-level statistics for players from home and away team categorized into different game areas (eg. attacking, defending, etc.).
- `PlayerPreMatchInfo`: Player-based pre-match information for home and away team.
### Data Splits
Since the final dataset contains only 51 rows, and many supported tasks using this dataset might not need train-test-validation splits, I only keep one 1 split of train dataset.
## Dataset Creation
### Curation Rationale
The primary purpose of the creation of this dataset is to combine useful information on different levels of matches (individual player, team, match, event, etc.) to facilitate user access and insight-extraction from this tournament's data.
### Source Data
"UEFA Euro 2020" from “https://data.world/cervus/uefa-euro-2020".
## Limitations
If users hope to conduct advanced machine learning modeling using the dataset, the sample size might be too small to attain generalizable conclusions, and the preprocessing step could involve extensive parsing and flattening of variables. The dataset is more suitable for summrization, story telling, insight and feature extraction, and analysis rather than modeling. There are also a small number of missing data that could be hard to impute in the nested variables.
## Citation
Mikhail Zhilkin @cervus (2021). "UEFA Euro 2020." Hosted by [data.world]. Available at: “https://data.world/cervus/uefa-euro-2020".