Dataset Viewer
Auto-converted to Parquet Duplicate
canonical_player_id
stringlengths
32
32
match_id
stringlengths
4
7
competition_id
int32
0
1.47k
season_id
int32
0
315
position_group
stringclasses
4 values
actions
listlengths
1
634
1bae566b9cea235e559f953849cdf246
3847567
53
106
Defender
[ { "action_type": 21, "x": 0.42791667580604553, "y": 0.7331249713897705, "result": 1 }, { "action_type": 21, "x": 0.31458333134651184, "y": 0.909375011920929, "result": 1 }, { "action_type": 21, "x": 0.13208332657814026, "y": 0.7293750047683716, "result": 1 }...
6d3b74d0ee09d888df52833c403f5b5c
3879537
12
27
Midfielder
[ { "action_type": 21, "x": 0.9587500095367432, "y": 0.6568750143051147, "result": 1 }, { "action_type": 21, "x": 0.5329166650772095, "y": 0.6856250166893005, "result": 1 }, { "action_type": 21, "x": 0.5329166650772095, "y": 0.6856250166893005, "result": 1 }, ...
f72a286996e3622c093c1425b2c4319f
3835323
53
106
Defender
[ { "action_type": 21, "x": 0.47458332777023315, "y": 0.30937498807907104, "result": 1 }, { "action_type": 21, "x": 0.4645833373069763, "y": 0.3556250035762787, "result": 1 }, { "action_type": 0, "x": 0.4579166769981384, "y": 0.3556250035762787, "result": 1 },...
314221e01e25fc1f6a8803b25871ef01
3869220
43
106
Goalkeeper
[ { "action_type": 22, "x": 0.9504166841506958, "y": 0.4493750035762787, "result": 1 }, { "action_type": 22, "x": 0.9504166841506958, "y": 0.5493749976158142, "result": 1 }, { "action_type": 22, "x": 0.9504166841506958, "y": 0.4493750035762787, "result": 1 }, ...
64399a13d29d4fcc967d3f5a33d5ea7e
3879640
12
27
null
[ { "action_type": 21, "x": 0.502916693687439, "y": 0.5543749928474426, "result": 1 }, { "action_type": 0, "x": 0.8695833086967468, "y": 0.4856249988079071, "result": 1 }, { "action_type": 21, "x": 0.5820833444595337, "y": 0.37437498569488525, "result": 1 }, ...
5be8d8de1fe13076dfef6cff0a012322
3788772
55
43
Defender
[ { "action_type": 21, "x": 0.7637500166893005, "y": 0.784375011920929, "result": 1 }, { "action_type": 21, "x": 0.8662499785423279, "y": 0.7768750190734863, "result": 1 }, { "action_type": 0, "x": 0.8712499737739563, "y": 0.7668750286102295, "result": 1 }, ...
1d0b1582b54066d85ad84d45da37715c
3788752
55
43
null
[ { "action_type": 21, "x": 0.8179166913032532, "y": 0.21937499940395355, "result": 1 }, { "action_type": 0, "x": 0.9554166793823242, "y": 0.5518749952316284, "result": 1 }, { "action_type": 21, "x": 0.2487500011920929, "y": 0.9481250047683716, "result": 1 }, ...
ea511eb33fbe5f0b6daeeb84625e9719
3813297
1,238
108
Defender
[ { "action_type": 10, "x": 0.10208333283662796, "y": 0.6193749904632568, "result": 1 }, { "action_type": 21, "x": 0.40625, "y": 0.6668750047683716, "result": 1 }, { "action_type": 21, "x": 0.2654166519641876, "y": 0.5256249904632568, "result": 1 }, { "a...
34bde47945dc7ea2a36e3220489dfb4b
3802685
7
108
Goalkeeper
[ { "action_type": 0, "x": 0.05791666731238365, "y": 0.4493750035762787, "result": 1 }, { "action_type": 21, "x": 0.11541666835546494, "y": 0.9456250071525574, "result": 1 }, { "action_type": 0, "x": 0.03375000134110451, "y": 0.6831250190734863, "result": 1 },...
13b14ddc33a624a4a14b1b3c303a7ca1
3825632
11
27
Defender
[ { "action_type": 10, "x": 0.67208331823349, "y": 0.9593750238418579, "result": 1 }, { "action_type": 21, "x": 0.67208331823349, "y": 0.9593750238418579, "result": 1 }, { "action_type": 0, "x": 0.6570833325386047, "y": 0.9593750238418579, "result": 1 }, { ...
5c9f36c8679c53fb6a0d80c9a02b0e8a
3793185
43
55
Defender
[ { "action_type": 9, "x": 0.5787500143051147, "y": 0.07187499850988388, "result": 1 }, { "action_type": 21, "x": 0.5787500143051147, "y": 0.07187499850988388, "result": 1 }, { "action_type": 21, "x": 0.37708333134651184, "y": 0.4568749964237213, "result": 1 }...
4d6bd0bfb909182e2c3980cfd63eb699
3794686
55
43
null
[ { "action_type": 21, "x": 0.4087499976158142, "y": 0.3331249952316284, "result": 1 }, { "action_type": 0, "x": 0.3895833194255829, "y": 0.46812498569488525, "result": 1 }, { "action_type": 21, "x": 0.44708332419395447, "y": 0.49812498688697815, "result": 1 }...
a20190537d27d50230a0f4c0233353a3
3813304
1,238
108
null
[ { "action_type": 0, "x": 0.4437499940395355, "y": 0.25562500953674316, "result": 1 }, { "action_type": 21, "x": 0.2604166567325592, "y": 0.09812500327825546, "result": 1 }, { "action_type": 21, "x": 0.36541667580604553, "y": 0.22812500596046448, "result": 1 ...
e61b686720efd97f91dc088856228b7c
3813304
1,238
108
Midfielder
[ { "action_type": 21, "x": 0.6679166555404663, "y": 0.0768750011920929, "result": 1 }, { "action_type": 21, "x": 0.5754166841506958, "y": 0.20937499403953552, "result": 1 }, { "action_type": 21, "x": 0.5754166841506958, "y": 0.20937499403953552, "result": 1 }...
5082c17fbc59b14ae82d63fa5f91a6d8
3825686
11
27
Midfielder
[ { "action_type": 21, "x": 0.49125000834465027, "y": 0.4818750023841858, "result": 1 }, { "action_type": 0, "x": 0.4895833432674408, "y": 0.4768750071525574, "result": 1 }, { "action_type": 21, "x": 0.6087499856948853, "y": 0.6681249737739563, "result": 1 }, ...
321885f1ee745903c2719ea298e30092
3788771
55
43
Goalkeeper
[ { "action_type": 0, "x": 0.04958333447575569, "y": 0.5506250262260437, "result": 1 }, { "action_type": 0, "x": 0.04958333447575569, "y": 0.5506250262260437, "result": 1 }, { "action_type": 21, "x": 0.1237500011920929, "y": 0.5768749713897705, "result": 1 }, ...
ff52c9718dcf3a1e45aa42f6dac62a90
3813306
1,238
108
Midfielder
[ { "action_type": 21, "x": 0.39375001192092896, "y": 0.020625000819563866, "result": 1 }, { "action_type": 21, "x": 0.49125000834465027, "y": 0.44437500834465027, "result": 1 }, { "action_type": 0, "x": 0.47458332777023315, "y": 0.43937501311302185, "result": 1...
36d6773e3988b0881880297eaffadedd
3825621
11
27
Forward
[ { "action_type": 21, "x": 0.5612499713897705, "y": 0.4231249988079071, "result": 1 }, { "action_type": 0, "x": 0.5612499713897705, "y": 0.4231249988079071, "result": 0 }, { "action_type": 21, "x": 0.8320833444595337, "y": 0.8118749856948853, "result": 1 }, ...
85dd346cb1104e4d4f8a76eb00bfc4fc
3835342
53
106
Defender
[ { "action_type": 10, "x": 0.8295833468437195, "y": 0.25687500834465027, "result": 1 }, { "action_type": 21, "x": 0.8137500286102295, "y": 0.24937500059604645, "result": 1 }, { "action_type": 21, "x": 0.7270833253860474, "y": 0.06062500178813934, "result": 1 ...
15e9e679e415f9060eb2b447d14a3189
3857287
43
106
null
[ { "action_type": 21, "x": 0.20874999463558197, "y": 0.8018749952316284, "result": 1 }, { "action_type": 9, "x": 0.14291666448116302, "y": 0.9443749785423279, "result": 1 }, { "action_type": 21, "x": 0.14291666448116302, "y": 0.9443749785423279, "result": 1 }...
7ca0effe954cfc4a777f35bedc6856e4
3878611
12
27
null
[ { "action_type": 21, "x": 0.4595833420753479, "y": 0.49312499165534973, "result": 1 }, { "action_type": 21, "x": 0.5245833396911621, "y": 0.15187500417232513, "result": 1 }, { "action_type": 0, "x": 0.5412499904632568, "y": 0.15187500417232513, "result": 1 }...
d39a137178011d120febb3c975dfce18
3877115
44
107
null
[ { "action_type": 21, "x": 0.5704166889190674, "y": 0.9706249833106995, "result": 1 }, { "action_type": 21, "x": 0.7020833492279053, "y": 0.7956249713897705, "result": 1 }, { "action_type": 21, "x": 0.7020833492279053, "y": 0.7956249713897705, "result": 1 }, ...
312d1308dce3ca8daec327545b418bad
3857258
43
106
Midfielder
[ { "action_type": 21, "x": 0.7720833420753479, "y": 0.7056249976158142, "result": 1 }, { "action_type": 0, "x": 0.7870833277702332, "y": 0.690625011920929, "result": 1 }, { "action_type": 21, "x": 0.7912499904632568, "y": 0.7506250143051147, "result": 1 }, ...
8fbcb6e2d7e51cf7472112270709794e
3869684
43
106
Forward
[ { "action_type": 21, "x": 0.1887499988079071, "y": 0.24312500655651093, "result": 1 }, { "action_type": 0, "x": 0.19208332896232605, "y": 0.2381249964237213, "result": 1 }, { "action_type": 21, "x": 0.38458332419395447, "y": 0.3968749940395355, "result": 1 }...
616762c6b017ede178482bc83942c4aa
3857277
43
106
null
[ { "action_type": 21, "x": 0.022083332762122154, "y": 0.7306249737739563, "result": 1 }, { "action_type": 1, "x": 0.0037499999161809683, "y": 0.721875011920929, "result": 0 }, { "action_type": 21, "x": 0.33375000953674316, "y": 0.0768750011920929, "result": 1 ...
a49693f07a2eb921a3f430a85caf7c4a
3877060
44
107
Midfielder
[ { "action_type": 21, "x": 0.6762499809265137, "y": 0.9418749809265137, "result": 1 }, { "action_type": 0, "x": 0.5795833468437195, "y": 0.9056249856948853, "result": 1 }, { "action_type": 21, "x": 0.46958333253860474, "y": 0.5568749904632568, "result": 1 }, ...
e7d1a2a8077b5a17ba8cad664545e2f4
3879606
12
27
Forward
[ { "action_type": 21, "x": 0.4254166781902313, "y": 0.9993749856948853, "result": 1 }, { "action_type": 19, "x": 0.6387500166893005, "y": 0.9181249737739563, "result": 0 }, { "action_type": 21, "x": 0.6045833230018616, "y": 0.9131249785423279, "result": 1 }, ...
17eb17da9b81638ba2b38f69f6f7ee2e
3825667
11
27
Midfielder
[ { "action_type": 21, "x": 0.4845833480358124, "y": 0.296875, "result": 1 }, { "action_type": 0, "x": 0.4704166650772095, "y": 0.30937498807907104, "result": 0 }, { "action_type": 0, "x": 0.8629166483879089, "y": 0.19062499701976776, "result": 1 }, { "a...
End of preview. Expand in Data Studio

Football2Vec Training Data — SPADL Action Sequences

Tokenized SPADL action sequences for training the Football2Vec v2 transformer encoder. One row per player-match, covering ~87,000 sequences across ~3,000 professional soccer matches from StatsBomb Open Data and Wyscout.

Part of the (Right! Luxury!) Lakehouse soccer analytics platform.

Quick Start

from datasets import load_dataset

ds = load_dataset("luxury-lakehouse/football2vec-training-data")
df = ds["train"].to_pandas()
print(f"{len(df)} player-match sequences")

# Inspect one sequence
row = df.iloc[0]
print(f"Player: {row['canonical_player_id']}, Match: {row['match_id']}")
print(f"Actions: {len(row['actions'])} events")
print(f"First action: {row['actions'][0]}")  # {'action_type': 0, 'x': 0.52, 'y': 0.34, 'result': 1}

Explore interactively: HF Space demo

What Is This Dataset?

Each row represents one player's actions in one match, serialized as a struct array of SPADL-tokenized events. The 23-type SPADL vocabulary provides a unified action taxonomy across StatsBomb and Wyscout data sources. Continuous spatial coordinates (x, y) are normalized to [0, 1] on a 105×68m pitch.

This dataset is the training corpus for Football2Vec v2. It is exported from the platform's fct_action_values Delta table via the export_embeddings_training_data entry point and published here for reproducibility.

Data Fields

Column Type Description
canonical_player_id string Unified player identifier (from entity resolution across data sources)
match_id string Match identifier
competition_id int Competition identifier (used as adversarial target in Stage 2 training)
season_id int Season identifier
position_group string (nullable) Player position group: GK, Def, Mid, Fwd (from dim_players)
actions array<struct> Ordered sequence of tokenized SPADL actions

Action Struct Schema

Each element in the actions array:

Field Type Description
action_type int SPADL action type ID (0–22, 23 action types)
x float Normalized x coordinate [0, 1] on 105m pitch
y float Normalized y coordinate [0, 1] on 68m pitch
result int Binary outcome: 1 = success, 0 = failure

SPADL Action Vocabulary (23 types)

ID Action ID Action ID Action
0 pass 8 foul 16 keeper_punch
1 cross 9 tackle 17 keeper_pick_up
2 throw_in 10 interception 18 clearance
3 freekick_crossed 11 shot 19 bad_touch
4 freekick_short 12 shot_penalty 20 non_action
5 corner_crossed 13 shot_freekick 21 dribble
6 corner_short 14 keeper_save 22 goalkick
7 take_on 15 keeper_claim

Data Sources

Source Matches License
StatsBomb Open Data ~3,000 CC-BY 4.0
Wyscout Public Dataset ~1,900 CC-BY-NC 4.0

Coverage includes the Premier League, La Liga, Serie A, Bundesliga, Ligue 1, Champions League, World Cup, and more.

Freshness

Metric Value
Freshness SLA 168 hours (7 days)
Refresh trigger Re-exported when upstream fct_action_values is updated with new match data
Publish script src/ingestion/export_embeddings_training_data.py (entry point: export_embeddings_training_data)

Use Cases

  • Transformer training: Primary training corpus for Football2Vec v2 (masked language modeling + adversarial debiasing)
  • Custom embedding models: Train your own player embedding model on standardized SPADL sequences
  • Sequence analysis: Study per-player action patterns, spatial tendencies, and decision sequences
  • Vocabulary research: Compare action distributions across competitions, positions, or eras

Limitations

  • Event-based only: Contains on-ball action sequences. Off-ball movement, pressing, and positioning are not represented.
  • Open data only: Derived from publicly available StatsBomb and Wyscout data. Coverage is uneven across leagues and seasons.
  • Coordinate normalization: All coordinates are normalized to [0, 1] on a 105×68m pitch (SPADL standard). Original provider-specific coordinate systems are not preserved.
  • NULL position_group: Players not matched via entity resolution or lacking position metadata have position_group = NULL.

Citation

If you use this dataset, please cite the SPADL framework and the Football2Vec v2 model:

@inproceedings{decroos2019actions,
  title={Actions Speak Louder than Goals: Valuing Player Actions in Soccer},
  author={Decroos, Tom and Bransen, Lotte and Van Haaren, Jan and Davis, Jesse},
  booktitle={Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining},
  pages={1851--1861},
  year={2019},
  publisher={ACM}
}
@software{nielsen2026football2vec_v2,
  title={Football2Vec v2: Transformer Player Embeddings with Adversarial Team Debiasing},
  author={Nielsen, Karsten Skytt},
  year={2026},
  url={https://github.com/karsten-s-nielsen/luxury-lakehouse}
}

Companion Resources

Resource Description
Football2Vec v2 Model 128-dim transformer encoder trained on this data
Football2Vec v1 Model 32-dim Doc2Vec baseline
Player Embeddings Pre-computed vectors (career/season/match)
SPADL/VAEP Action Values Per-action offensive/defensive VAEP valuations

More Information

Explore interactively: HF Space demo

Downloads last month
839

Models trained or fine-tuned on luxury-lakehouse/football2vec-training-data

Space using luxury-lakehouse/football2vec-training-data 1