The dataset viewer is not available for this dataset.
Error code: ConfigNamesError Exception: TypeError Message: must be called with a dataclass type or instance Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 79, in compute_config_names_response config_names = get_dataset_config_names( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 347, in get_dataset_config_names dataset_module = dataset_module_factory( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory raise e1 from None File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1885, in dataset_module_factory return HubDatasetModuleFactoryWithoutScript( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1237, in get_module dataset_infos = DatasetInfosDict.from_dataset_card_data(dataset_card_data) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/info.py", line 464, in from_dataset_card_data dataset_info = DatasetInfo._from_yaml_dict(dataset_card_data["dataset_info"]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/info.py", line 395, in _from_yaml_dict yaml_data["features"] = Features._from_yaml_list(yaml_data["features"]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1918, in _from_yaml_list return cls.from_dict(from_yaml_inner(yaml_data)) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1758, in from_dict obj = generate_from_dict(dic) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1400, in generate_from_dict return {key: generate_from_dict(value) for key, value in obj.items()} File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1400, in <dictcomp> return {key: generate_from_dict(value) for key, value in obj.items()} File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1411, in generate_from_dict field_names = {f.name for f in fields(class_type)} File "/usr/local/lib/python3.9/dataclasses.py", line 1035, in fields raise TypeError('must be called with a dataclass type or instance') TypeError: must be called with a dataclass type or instance
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Euro 2020 Dataset Card
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".
- Downloads last month
- 120