Closed mrmorgan17 closed 1 year ago
Hi @mrmorgan17, thanks for raising. I will work on a fix for this.
Will update comments here once a patch is pushed.
This should now be resolved in version 0.6.1.7000
.
Install using.
devtools::install_github("JaseZiv/worldfootballR")
Thanks for raising the issue
I updated to version 0.6.1.7000
and still had the same issue with the fb_advanced_match_stats()
function:
fb_advanced_match_stats(
match_url = "https://fbref.com/en/matches/e62685d4/Manchester-United-Leeds-United-August-14-2021-Premier-League",
stat_type = "keeper"
) %>%
select(Team, Player, Min, Game_URL)
Result:
Team Player Min
1 Manchester United David de Gea 90
2 Major League Soccer Illan Meslier 90
Game_URL
1 https://fbref.com/en/matches/e62685d4/Manchester-United-Leeds-United-August-14-2021-Premier-League
2 https://fbref.com/en/matches/e62685d4/Manchester-United-Leeds-United-August-14-2021-Premier-League
I was working through the Extracting data from FBref tutorial and noticed that with these examples:
The
Away_Team
column is always "Major League Soccer" which seems to be a bug