The statistics page aggregates data from all finished matches in a season into three sections: global totals, team rankings, and individual player rankings. A fourth section shows the prediction leaderboard (porra). All data is scoped to the selected season and recomputed on the fly.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Danielsl4/TFG_DAM_2526_Consulta/llms.txt
Use this file to discover all available pages before exploring further.
Accessing statistics
Navigate to Statistics in the top navigation bar. The page loads data for the currently active season. Use the season picker to view statistics for any past season — theseason_id query parameter controls which season is loaded.
Global statistics
Six summary figures appear at the top of the page, each drawn from finished matches only.| Stat | What it counts |
|---|---|
| Matches played | Total number of finished matches in the season |
| Total goals | Sum of all home and away goals across finished matches |
| Average goals per match | Total goals ÷ matches played, rounded to two decimal places |
| Clean sheets | Finished matches where at least one team scored zero goals |
| Yellow cards | Total yellow cards issued across all teams in the season |
| Red cards | Total red cards issued across all teams in the season |
Global card counts come from the
team_stats table, which is updated transactionally each time a card event is recorded during a match.Team rankings
Five ranked lists show the top 5 teams in each category. Click a team name to open its profile page.Most wins
Teams ranked by the number of matches won. Sorted descending.
Most losses
Teams ranked by the number of matches lost. Sorted descending.
Most draws
Teams ranked by the number of drawn matches. Sorted descending.
Best offense
Teams ranked by goals scored (
goals_for). Sorted descending.Best defense
Teams ranked by goals conceded (
goals_against). Sorted ascending — fewer is better.Individual player rankings
Three ranked lists show the top 5 players in each category. Click a player name to open their profile page.| Ranking | Description |
|---|---|
| Top scorers | Players with the most goals in the season. Penalty shootout goals are excluded — only regular match goals count. |
| Most yellow cards | Players with the most yellow cards. Only players with at least one yellow card appear. |
| Most red cards | Players with the most red cards. Only players with at least one red card appear. |
Individual statistics are derived from the
player_stats table. Stats are updated in real time as referees record events during live matches.User prediction leaderboard (porra)
Below the player rankings, a leaderboard shows the top 10 users ranked by prediction points earned in the season. Your own username is highlighted if you appear in the top 10.| Column | Description |
|---|---|
| Position | Rank within the season (1st–10th) |
| Username | First letter shown as an avatar |
| Points | Total correct predictions in the season |
Season filtering
All statistics respect theseason_id query parameter. When no season is specified, the platform automatically uses the season currently marked as active.