Dati Fantacalcio
Dati dal sito ufficiale Fantacalcio.it — la fonte principale per voti, fantavoti e quotazioni.
Nota: tutte le tabelle
fc_*hanno un camposeriea(TINYINT):1= Serie A,0= Euroleghe.
fc_player_seasons (~8.000 righe)
Una riga per giocatore per stagione. Contiene il profilo stagionale completo.
| Colonna | Descrizione |
|---|---|
player_id |
FK verso players |
season_id |
Stagione |
role / role_mantra / role_short |
Ruolo (es. "A" = attaccante, "C" = centrocampista, "D" = difensore, "P" = portiere) |
matches_with_vote |
Partite con voto |
goals, assists |
Gol e assist |
home_goals, away_goals |
Gol casa/trasferta |
penalties_scored, penalties_taken |
Rigori segnati/calciati |
goals_conceded |
Gol subiti (portieri) |
yellow_cards, red_cards, own_goals |
Cartellini e autogol |
average_vote |
Media voto (scala 1-10) |
fantasy_average |
Media fantavoto (con bonus/malus) |
quotation_classic / quotation_mantra |
Quotazione attuale |
fvm_classic_current / fvm_mantra_current |
FVM attuale |
fvm_classic_min/max, fvm_mantra_min/max |
Range FVM stagionale |
starter_matches, substitute_matches |
Titolare/subentrato |
suspended_matches, injured_matches, unused_matches |
Squalificato/infortunato/non convocato |
club_id |
FK verso clubs |
seriea |
1 = Serie A, 0 = Euroleghe |
fc_player_matches (~273.000 righe)
Una riga per giocatore per giornata. Il dato più granulare del Fantacalcio.
| Colonna | Descrizione |
|---|---|
player_season_id |
FK verso fc_player_seasons |
match_day |
Giornata (1-38) |
vote |
Voto partita (es. 6.5) — NULL se non ha giocato |
fantasy_vote |
Fantavoto (voto + bonus - malus) |
bonus / malus |
Bonus e malus separati |
sub_in_minute / sub_out_minute |
Minuto di entrata/uscita |
is_home |
1 = gioca in casa |
home_club_id / away_club_id |
Le due squadre |
home_score / away_score |
Risultato |
goals_scored, assists, yellow_cards, … |
Eventi della partita |
penalties_scored, penalties_missed, penalties_saved |
Dettaglio rigori |
match_id |
FK verso matches (può essere NULL) |
player_team_id |
FK verso clubs — la squadra del giocatore |
allenatore |
Nome dell’allenatore per quella giornata (da API /ratings) |
seriea |
1 = Serie A, 0 = Euroleghe |
Esempio — Ultimi 5 voti di un giocatore:
SELECT fpm.match_day, fpm.vote, fpm.fantasy_vote, fpm.goals_scored, fpm.assists
FROM fc_player_matches fpm
JOIN fc_player_seasons fps ON fpm.player_season_id = fps.id
JOIN players p ON fps.player_id = p.id
WHERE p.name LIKE '%Lautaro%' AND fps.season_id = '2024'
AND fpm.vote IS NOT NULL
ORDER BY fpm.match_day DESC
LIMIT 5;
fc_quotation_history (~281.000 righe)
Storico delle quotazioni Classic e Mantra per ogni giornata.
| Colonna | Descrizione |
|---|---|
player_season_id |
FK verso fc_player_seasons |
match_day |
Giornata |
quotation_classic |
Quotazione Classic |
quotation_mantra |
Quotazione Mantra |
seriea |
1 = Serie A, 0 = Euroleghe |
fc_fvm_history (~5.000 righe)
Storico dei valori FVM (Fantasy Value Model) per giornata.
| Colonna | Descrizione |
|---|---|
player_season_id |
FK verso fc_player_seasons |
match_day |
Giornata (DECIMAL perché ci possono essere valori intermedi) |
fvm_value |
Valore FVM |
seriea |
1 = Serie A, 0 = Euroleghe |