Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Danielsl4/TFG_DAM_2526_Consulta2/llms.txt

Use this file to discover all available pages before exploring further.

The statistics page gives a complete performance picture for the current season. Every goal, card, and result recorded during a match is reflected here immediately. You can view individual player rankings, team performance breakdowns, and aggregated league-wide numbers — all filtered to the season of your choice.

Player statistics

Player stats are tracked per season in the player_stats table. Each entry is keyed to a player and a season, so a player’s record resets cleanly at the start of each new competition year. The following individual rankings are available:
  • Top scorers — players ranked by total goals, then alphabetically on ties
  • Most yellow cards — players with at least one yellow card, ranked descending
  • Most red cards — players with at least one red card, ranked descending
  • Matches played — incremented once per match in which the player recorded at least one event
Penalty-shootout goals (penalti_tanda_marcado) are excluded from the individual goals tally and do not appear in the top-scorers list. Only regular-play goals count.

Team statistics

Team stats are drawn from the team_stats table, which aggregates results across the season per group. The following team rankings are surfaced in the statistics view:
  • Most wins — top 5 teams by total victories
  • Most losses — top 5 teams by total defeats
  • Most draws — top 5 teams by total draws
  • Best offense — top 5 teams by goals scored
  • Best defense — top 5 teams by fewest goals conceded
The statistics page also surfaces global league numbers for the selected season:
MetricDescription
Matches playedTotal finished matches in the season
Total goalsSum of all goals across all matches
Average goals per matchTotal goals divided by matches played
Total yellow cardsSum across all team records
Total red cardsSum across all team records
Clean sheetsMatches where at least one team conceded zero goals

Filtering

All statistics are scoped to a single season. When no season is specified, the active season is used automatically.

Player stats

Goals, yellow cards, red cards, and matches played — all tracked individually per season. Use the season switcher to explore historical player performance.

Team stats

Wins, losses, draws, goals for and against, and card totals — aggregated per group and season. Rankings update the moment a match is finalised.
Use the season switcher to compare performance across seasons. Selecting a past season loads all player and team rankings exactly as they stood at the end of that competition.

Build docs developers (and LLMs) love