Returns the game results for a competition(s), ie League cups or international competitions from FBref. comp_name comes from https://github.com/JaseZiv/worldfootballR_data/tree/master/data/match_results_cups#readme
Examples
# \donttest{
try({
df <- load_match_comp_results(
comp_name = "Coppa Italia"
)
# for multiple competitions:
cups <- c("FIFA Women's World Cup",
"FIFA World Cup")
df <- load_match_comp_results(
comp_name = cups
)
})
#> → Data last updated 2024-09-03 17:19:54.1123039722443 UTC
#> → Data last updated 2023-08-28 02:48:12.7885611057281 UTC
# }