Worldcup R Package Fjelstul Data-csv Site
Detailed information on teams, players, managers, and referees.
goals %>% filter(!is.na(assist_player_id)) %>% group_by(tournament_id, assist_player_id) %>% summarise(assists = n(), .groups = "drop") %>% slice_max(assists, by = tournament_id, n = 1) %>% left_join(players, by = c("assist_player_id" = "player_id")) worldcup r package fjelstul data-csv
cards %>% group_by(match_id) %>% summarise(total_cards = n()) %>% arrange(desc(total_cards)) %>% left_join(matches, by = "match_id") %>% select(match_id, home_team, away_team, total_cards) Detailed information on teams
goals %>% group_by(player_id) %>% summarise(total_goals = n(), .groups = "drop") %>% arrange(desc(total_goals)) %>% left_join(players, by = "player_id") %>% select(player_name, total_goals) %>% slice_head(n = 10) and referees. goals %>
While the worldcup package loads data directly into the R environment as R objects, the mention of "data-csv" typically refers to the or the export process:
Granular data on goals, penalty kicks, bookings, substitutions, and team lineups.