# Load the worldcup dataset data(worldcup)
| Table | Description | |-------|-------------| | matches | Core match info (date, score, stage, attendance) | | goals | Every goal (scorer, minute, own goal, penalty) | | cards | Yellow/red cards (player, minute, type) | | substitutions | Player substitutions | | penalty_shootouts | Shootout details | | tournaments | Tournament years, hosts, winners | | teams | Team names, FIFA codes, confederations | | players | Player names, birth dates, positions | | managers | Team managers per tournament |
example analysis using a specific dataset from this package, such as player stats or match results? AI can make mistakes, so double-check responses Copy Creating a public link... You can now share this thread with others Good response Bad response 3 sites worldcup/DESCRIPTION at master · jfjelstul/worldcup - GitHub 16 lines (16 loc) · 815 Bytes. Package: worldcup Type: Package Title: A Comprehensive Database on the FIFA World Cup Version: 1.2. GitHub worldcup/DESCRIPTION at master · jfjelstul/worldcup - GitHub Description: This package contains the Fjelstul World Cup Database. The database includes 27 datasets that cover all aspects of th... GitHub worldcup/DESCRIPTION at master · jfjelstul/worldcup - GitHub File metadata and controls. Code. 16 lines (16 loc) · 815 Bytes. Package: worldcup Type: Package Title: A Comprehensive Database o... GitHub The Fjelstul World Cup Database - GitHub Jan 17, 2023 — fjelstul world cup database r package worldcup
Comprehensive lists of every player who has ever been named to a World Cup roster.
data(package = "fjelstul.world.cup")
goals %>% filter(player == "Lionel Messi") %>% select(tournament_id, minute, team, own_goal, penalty)
matches %>% filter(tournament_id == "WC-2022") %>% select(home_team, away_team, home_score, away_score, stage) # Load the worldcup dataset data(worldcup) | Table
To illustrate the capabilities of the fjelstul World Cup Database R package, let's consider a simple example. Suppose we want to analyze the performance of the Brazilian national team in the World Cup.
Exploring the Fjelstul World Cup Database: The Ultimate R Package for Soccer Analytics Whether you're a data enthusiast
The fjelstul World Cup Database R package is a valuable resource for anyone interested in analyzing and visualizing World Cup data. With its comprehensive datasets and flexible functions, the package provides a powerful tool for exploring the rich history of the World Cup. Whether you're a data enthusiast, sports analyst, or simply a World Cup fan, the fjelstul package is an essential tool for gaining insights into the world's most popular sporting event.
One data frame with 597 rows (players) and 6 columns: