Worldcup R Package Fjelstul -
worldcup is the best package for clean, historical, fully documented men’s World Cup data.
: Researchers use the dataset to study long-term trends, such as the evolution of managerial impact or refereeing patterns across different eras of football. worldcup r package fjelstul
: Providing a reliable, peer-reviewed source of sports data for quantitative social science or statistical research. How to Get Started worldcup is the best package for clean, historical,
Developed by Johan Fjelstul (often associated with his work at the Geneva School of Economics and Management), the package provides a comprehensive dataset of FIFA World Cup matches, players, and goals. It was created to support sports analytics tutorials and research, allowing users to bypass the tedious "scraping and cleaning" phase and jump straight into analysis. How to Get Started Developed by Johan Fjelstul
The worldcup package by Fjelstul is a high-quality educational and historical tool . While it suffers from a lack of recent updates (post-2014), the data structure is a masterclass in how to organize sports data. It serves as a perfect sandbox for practicing data manipulation in R.
| Data frame | Description | |------------|-------------| | matches | Every match: teams, scores, stadium, attendance, referee, stage (group, round of 16, final, etc.) | | goals | Every goal: scorer, minute, own goal, penalty, knockout round extra time info | | cards | Yellow and red cards: player, minute, type of card | | penalty_shootouts | Results of penalty shootouts (from 1982 onward) | | substitutions | Substitutions made in each match | | managers | Manager for each team in each tournament | | squads | Players in each team’s official squad | | players | Metadata about players (birth date, position, etc.) | | tournaments | Overview of each World Cup (year, host, winner, top scorer, etc.) | | referees | Referee metadata | | stadiums | Stadium metadata | | teams | Team metadata |