JaseZiv / worldfootballR

A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat
https://jaseziv.github.io/worldfootballR/
444 stars 60 forks source link

get_season_team_stats advanced stats error #17

Closed szfh closed 3 years ago

szfh commented 3 years ago

get_season_team_stats("ENG","M","2020","standard")

Error in gsub("\+", "plus", names(stat_df)) : object 'stat_df' not found

Changes in fbref back end cause get_season_team_stats to fail for all stat types except league_table and league_table_home_away.

JaseZiv commented 3 years ago

Thanks for creating the issue and providing an MRE. Will hopefully have this fixed in the next day or so. Sorry for the inconvenience

szfh commented 3 years ago

No problem! I won't mess with your code but it looks like the tables have been renamed on the site.

image