sport-statistics
收藏资源简介:
该数据集是一个足球比赛数据集合,涵盖比赛级、球队级和球员级信息,旨在支持比赛结果预测和预测市场建模研究,如最终比分、半场比分、角球、大小球、首球时间等。数据收集自多个来源,以JSON Lines格式提供,每个JSON对象一行。数据集包含多个文件:matches.jsonl(1140行,每场比赛一条记录,包含比分、开球时间、球队ID等字段)、match_stats.jsonl(760行,每场比赛的球队级统计数据,分为总体、上半场和下半场,指标包括预期进球(xG)、控球率、射门、传球、犯规等)、match_lineup.jsonl(47837行,每行对应一个(比赛,球员)组合,包含球员阵容、位置、是否首发等信息)、match_player_stats.jsonl(442行,每场比赛的球员级统计数据,覆盖约103个指标,如预期进球、射门、传球准确率等,但仅覆盖部分顶级联赛和2024-25赛季后的比赛,分布不均)。此外,还包括维度表:players.jsonl(1296名球员)、teams.jsonl(23支球队)、leagues.jsonl(1个联赛)、tournaments.jsonl(115个赛季)、tournament_stages.jsonl(115个阶段)和sports.jsonl(1个运动)。数据质量注意事项:match_stats和match_player_stats并非覆盖所有比赛;比分字段类型不一致(字符串或整数);时间戳为Unix秒;指标命名在match_stats和match_player_stats中不一致(snake_case vs SCREAMING_SNAKE_CASE)。建议在使用前进行字段分布检查和校准。数据集许可证为CC-BY-NC-4.0,仅限非商业用途,需注明出处。
This dataset is a collection of football match data covering match-level, team-level, and player-level information, designed to support research on match outcome prediction and prediction market modeling, such as final score, half-time score, corners, over/under, time of first goal, etc. The data is collected from multiple sources and provided in JSON Lines format, with one JSON object per line. The dataset includes multiple files: matches.jsonl (1140 rows, one record per match, containing fields such as score, kickoff time, team IDs), match_stats.jsonl (760 rows, team-level statistics per match, divided into overall, first half, and second half, with metrics including expected goals (xG), possession, shots, passes, fouls, etc.), match_lineup.jsonl (47837 rows, each row corresponds to a (match, player) combination, containing player lineup, position, whether starting, etc.), match_player_stats.jsonl (442 rows, player-level statistics per match, covering about 103 metrics such as expected goals, shots, pass accuracy, etc., but only covering some top leagues and matches after the 2024-25 season, with uneven distribution). Additionally, dimension tables are included: players.jsonl (1296 players), teams.jsonl (23 teams), leagues.jsonl (1 league), tournaments.jsonl (115 seasons), tournament_stages.jsonl (115 stages), and sports.jsonl (1 sport). Data quality notes: match_stats and match_player_stats do not cover all matches; score field types are inconsistent (string or integer); timestamps are in Unix seconds; metric naming is inconsistent between match_stats and match_player_stats (snake_case vs SCREAMING_SNAKE_CASE). It is recommended to check field distributions and calibrate before use. The dataset license is CC-BY-NC-4.0, for non-commercial use only, with attribution required.
数据集概述
该数据集为“Gamblistics Sport Statistics”,是一个足球比赛数据集合,涵盖比赛级、球队级和球员级数据,主要用于比赛结果预测和博彩市场建模研究(如最终比分、半场比分、角球数、大小球、首个进球时间等)。
数据集基本信息
- 许可证:CC-BY-NC-4.0(非商业用途,需注明出处)
- 语言:英语
- 标签:体育、足球、比赛数据、比赛统计、球员统计
- 数据规模:10K < n < 100K 行
- 数据格式:JSON Lines(
.jsonl),每行一个 JSON 对象
文件结构与行数
核心数据表
| 文件 | 行数 | 内容 |
|---|---|---|
matches.jsonl |
1,140 | 每场比赛一行,包含比赛ID、开球时间(Unix 秒)、主客队名称及ID、全场/半场/90分钟比分、比赛状态、联赛/锦标赛/阶段ID、轮次名称 |
match_stats.jsonl |
760 | 每场比赛的球队级统计,分为整体、上半场、下半场三个时段,指标包括 xG、控球率、射门、射正、角球、传球、黄牌、越位、犯规等 |
match_lineup.jsonl |
47,837 | 每行对应一个(比赛,球员)组合,包含阵容信息、首发/队长/门将标识、球衣号码、位置、球员姓名/国籍等 |
match_player_stats.jsonl |
442 | 每场比赛的球员级统计,包含球员ID、球队ID、位置及约103个统计指标(如 EXPECTED_GOALS、SHOTS_TOTAL 等),所有球员均携带完整指标字典,非事件项填充为0 |
维度表
| 文件 | 行数 | 内容 |
|---|---|---|
players.jsonl |
1,296 | 球员ID、姓名、国籍、主要位置、类型、出生日期 |
teams.jsonl |
23 | 球队ID、名称、国家、球场、城市、容量 |
leagues.jsonl |
1 | 永久联赛(如英超)ID、名称、国家、运动ID |
tournaments.jsonl |
115 | 某联赛的某一赛季 |
tournament_stages.jsonl |
115 | 锦标赛阶段ID、对应锦标赛、联赛、类型、比赛场数 |
sports.jsonl |
1 | 运动ID、名称 |
连接键
matches.id与match_stats.id、match_player_stats.id一一对应match_lineup.id格式为<matchId>_<playerId>,通过matchId关联matches.id- 球队:
matches.homeTeamId/awayTeamId→teams.id - 球员:
match_lineup.playerId/match_player_stats.players[].playerId→players.id - 比赛与联赛/锦标赛:
matches.leagueId→leagues.id;matches.tournamentId→tournaments.id
已知数据质量注意事项
match_stats和match_player_stats并非覆盖所有比赛,约三分之二的比赛缺少球队统计,多数比赛缺少球员统计(存在非随机缺失问题)matches中的比分字段部分行为字符串、部分为整数,需转换为可空整数- 时间戳为 Unix 秒(非毫秒)
- 指标命名不一致:
match_stats使用snake_case,match_player_stats使用SCREAMING_SNAKE_CASE - 球员统计中的常量零列(如常规联赛中的点球大战指标)不应视为事件缺失,需删除或生成指标观察掩码
- 数据来源为逆向工程,格式可能变化,训练前需检查字段分布
建议用途
- 预测全场比分(主队/客队泊松率)
- 半场比分及半场结果市场
- 大小球(1.5/2.5球)
- 总角球数
- 首个进球时间
- 球员级 xG / 射门 / 评分建模
用于博彩市场的分类/回归目标需在留出集上进行校准(Platt 或 isotonic),未校准的概率对期望值计算具有误导性。
来源与许可
数据收集自多个公开来源,仅在 CC-BY-NC-4.0 许可下用于研究和教育目的。数据集包含球员和教练的公开姓名、国籍及出生日期,不包含其他个人数据。若使用本数据集,请引用提供者并注明原始来源。




