Example structure of matches :
1. Overview The worldcup package is an R data package that provides a comprehensive, structured, and tidy dataset of all FIFA World Cup matches (men's and women's) from the tournament's inception through 2022 (as of the package's recent versions). Created and maintained by Joshua C. Fjelstul , the package is designed for sports analytics, data visualization, teaching data manipulation (especially with dplyr and ggplot2 ), and historical research on international football. r package worldcup fjelstul
| Dataset | Description | |---------|-------------| | matches | Core match data (teams, score, stage, date, venue, attendance, referee) | | goals | Every goal scored (time, scorer, assist, own goal, penalty) | | cards | Every yellow/red card (time, player, reason) | | penalty_shootouts | Shootout details (team, player, scored/missed) | | players | Player metadata (name, position, birth date, squad number) | | teams | Team metadata (name, confederation, code) | | tournaments | Tournament-level info (year, host, winner, top scorer) | Example structure of matches : 1