Football
Analytics
Using Transfermarkt Data
For our Database Management Systems project, we studied the Premier League, La Liga, Bundesliga, Serie A, and Ligue 1 from 2012/13 through 2022/23. We compared results at home and away, crowd sizes, and player performance.

- League fixtures with a result
- 19,985
- Linked player appearances
- 564,129
- Domestic leagues
- 5
Match results, crowds, and player statistics cover the 2012/13–2022/23 league seasons. Player rankings total the appearances within that window. The market value case study uses calendar-year estimates from 2015 through 2022.
What we found
Across 2012/13–2022/23, home teams won 44.8% of fixtures in the five leagues. Within those seasons, Messi recorded the most assists and Müller had the highest rate among players with at least 900 measured minutes.
How often did the home side win?
Loading results…
Show chart data
How we did it
We imported the Transfermarkt CSVs into DuckDB, checked keys and joins, and built a separate result table for each question.
- Did teams win more often at home?
- We divided home wins by home fixtures and away wins by away fixtures. The club comparison includes teams that played in the same league in all eleven seasons. We used
LAGto track changes in league-wide win rates. Read the league query · Read the club query. - How large were the crowds?
- Average crowd means average attendance per match with a recorded figure. Data coverage is the share of fixtures that have a figure recorded. We show both so readers can see how many matches each average represents. Read the attendance query.
- Who led in assists and cards?
- We joined appearances to fixtures and checked the date, competition, and club. We grouped records by player ID and required at least 900 measured minutes for assists per 90. Read the player query.
- How did player values move?
- This case study follows Haaland, Mbappé, and Vinícius Júnior from their first available estimates through calendar year 2022. We used
ROW_NUMBERto pick the last dated estimate in each year. Read the valuation query.
What you can use this for
A football reporter can check how much home advantage changed in different leagues. A club analyst can use the gap between home and away results to choose matches for review. Estimating the effect of crowds would also take fixture-level restrictions, opponent strength, and schedule data.
Tableau dashboard
Four workbook tabs cover club results, attendance, player output, and market values. Browse their previews here or download the workbook with its data included.