feat: replace historical sync with Kaggle seed for complete 1930-2022 goal data
- scripts/seed.ts: one-time import of Kaggle FIFA dataset (matches_1930_2022.csv, world_cup.csv) covering all 964 matches and 2720 goals from 1930-2022 with full scorer names, minutes, penalties, and own goals for every tournament - scripts/sync.ts: stripped to 2026 only (openfootball live data); historical years removed since Kaggle is now authoritative for 1930-2022 - Dockerfile: copy app/data into runner image; CMD runs seed.ts before server.js so a fresh deployment auto-seeds on first start (skips if already seeded) - package.json: add 'seed' script; use --force to re-import from updated CSV files - app/data/kaggle/: bundle Kaggle CSV files in repo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
Year,Host,Teams,Champion,Runner-Up,TopScorrer,Attendance,AttendanceAvg,Matches
|
||||
2022,Qatar,32,Argentina,France,Kylian Mbappé - 8,3404252,53191,64
|
||||
2018,Russia,32,France,Croatia,Harry Kane - 6,3031768,47371,64
|
||||
2014,Brazil,32,Germany,Argentina,James Rodríguez - 6,3429873,53592,64
|
||||
2010,South Africa,32,Spain,Netherlands,"Wesley Sneijder, Thomas Müller... - 5",3178856,49670,64
|
||||
2006,Germany,32,Italy,France,Miroslav Klose - 5,3352605,52384,64
|
||||
2002,"Korea Republic, Japan",32,Brazil,Germany,Ronaldo - 8,2705337,42271,64
|
||||
1998,France,32,France,Brazil,Davor Šuker - 6,2903477,45367,64
|
||||
1994,United States,24,Brazil,Italy,"Hristo Stoichkov, Oleg Salenko - 6",3587538,68991,52
|
||||
1990,Italy,24,West Germany,Argentina,Salvatore Schillaci - 6,2516215,48389,52
|
||||
1986,Mexico,24,Argentina,West Germany,Gary Lineker - 6,2394031,46039,52
|
||||
1982,Spain,24,Italy,West Germany,Paolo Rossi - 6,2109723,40572,52
|
||||
1978,Argentina,16,Argentina,Netherlands,Mario Kempes - 6,1545791,40679,38
|
||||
1974,Germany,16,West Germany,Netherlands,Grzegorz Lato - 7,1865753,49099,38
|
||||
1970,Mexico,16,Brazil,Italy,Gerd Müller - 10,1603975,50124,32
|
||||
1966,England,16,England,West Germany,Eusébio - 9,1563135,48848,32
|
||||
1962,Chile,16,Brazil,Czechoslovakia,"Leonel Sánchez, Flórián Albert... - 4",893172,27912,32
|
||||
1958,Sweden,16,Brazil,Sweden,Just Fontaine - 13,819810,23423,35
|
||||
1954,Switzerland,16,Germany,Hungary,Sándor Kocsis - 11,768607,29562,26
|
||||
1950,Brazil,15,Uruguay,Brazil,Ademir - 8,1045246,47511,22
|
||||
1938,France,16,Italy,Hungary,Leônidas - 7,375700,20872,18
|
||||
1934,Italy,16,Italy,Czechoslovakia,Oldřich Nejedlý - 5,363000,21353,17
|
||||
1930,Uruguay,13,Uruguay,Argentina,Guillermo Stábile - 8,590549,32808,18
|
||||
|
Reference in New Issue
Block a user