unarsezer / Football-Analytics

98 stars 14 forks source link

xG and xGA Plot with FotMob data: league table error #1

Open Zakgas opened 1 year ago

Zakgas commented 1 year ago

Hi,

When trying to run your code, I get the following error:

# finding the TOP 10 teams
top10 <- fotmob_get_league_tables(country = "ENG", league_name = "Premier League")
Error: Expected to find `table` or `tables` element but did not.

Could you please help me resolve this issue?

Best, ZakGas

unarsezer commented 1 year ago

Hi, maybe you need to upgrade your worldfootballR package.