JaseZiv / worldfootballR

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

Scouting Report - FBref #301

Open lucassvar opened 11 months ago

lucassvar commented 11 months ago

I was having trouble extracting the scouting reports for an analysis I had to make, so I tried reinstalling the package and using the example code and nothing. I get the following error message: _Error in fb_player_scouting_report(playerurl = "https://fbref.com/en/players/d70ce98e/Lionel-Messi", : Full scouting report not available for Lionel Messi And is the same error for every single player I've tried.

library(worldfootballR)
packageVersion("worldfootballR")

messi_primary <- fb_player_scouting_report(player_url = "https://fbref.com/en/players/d70ce98e/Lionel-Messi", pos_versus = "primary")

sessionInfo()
JaseZiv commented 11 months ago

I was having trouble extracting the scouting reports for an analysis I had to make, so I tried reinstalling the package and using the example code and nothing. I get the following error message: _Error in fb_player_scouting_report(playerurl = "https://fbref.com/en/players/d70ce98e/Lionel-Messi", : Full scouting report not available for Lionel Messi And is the same error for every single player I've tried.

library(worldfootballR)
packageVersion("worldfootballR")

messi_primary <- fb_player_scouting_report(player_url = "https://fbref.com/en/players/d70ce98e/Lionel-Messi", pos_versus = "primary")

sessionInfo()

What version of worldfootballR are you using?

I'm using the current version and am not getting any errors using your MRE.

Make sure you install the latest dev version from GitHub.

Let me know how you go.

lucassvar commented 11 months ago

Can't check the version right now since I'm not at home, but I uninstalled and installed the package again from Github succesfully. Also restarted the session. So yeah I don't know why it isn't working.

JaseZiv commented 11 months ago

Ok cool. Let me know when you get home what version you've got installed.

lucassvar commented 11 months ago

worldfootballR_0.6.3.0010