Fjelstul World Cup Database R Package Worldcup File
install.packages("worldcup") library(worldcup) data("worldcup")
goals %>% filter(player == "Lionel Messi") %>% select(tournament_id, minute, team, own_goal, penalty) fjelstul world cup database r package worldcup
Whether you want to settle a bar bet about the 1966 tournament or build a predictive model for the next World Cup, fjelstul provides the solid data foundation you need. install
write_csv(matches, "world_cup_matches.csv") % filter(player == "Lionel Messi") %>
knockout_goals <- world_cup_matches %>% filter(stage_name != "Group Stage") %>% mutate(total_goals = home_team_score + away_team_score)
The fjelstul package is an R data package that contains a complete relational database of the FIFA World Cup. It is named after its creator and is part of a broader ecosystem of sports analytics tools.
Comprehensive lists of every player who has ever been named to a World Cup roster.