-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FotMob Scraping Warning #297
Comments
Please install the latest version of I can't seem to replicate your issue with the latest version of the package. library(worldfootballR)
packageVersion("worldfootballR")
#> [1] '0.6.3.8'
Eredivisie_fotmob_rating <- fotmob_get_season_stats(
country = "NED",
league_name = "Eredivisie",
season_name = "2021/2022",
stat_name = "Assists",
team_or_player = "player"
)
dim(Eredivisie_fotmob_rating)
#> [1] 236 20 |
I followed your instruction but I still have an error:
Let me know, many thanks |
the message that you see is because in reality, you should still be getting a valid result from your function call despite the error message. observe that i get a 20-row dataframe back from the function call. library(worldfootballR)
packageVersion("worldfootballR")
#> [1] '0.6.3.8'
res <- fotmob_get_season_stats(
country = "ITA",
league_name = "Serie A",
season_name = "2022/2023",
stat_name = "xG conceded",
team_or_player = "team"
)
#> Error: no applicable method for 'distinct' applied to an object of class "list"
dim(res)
#> [1] 20 20 i may tackle this issue this weekend, but, as i've noted, you should still be getting valid data from the function call. |
You're right, it was a refuse: now it works! Many thanks |
Good morning,
I had a problem with web scraping from FotMob; here below the warning:
**> Eredivisie_fotmob_rating <- fotmob_get_season_stats(
Error in
map2()
:ℹ In index: 1.
Caused by error in
pmap()
:ℹ In index: 1.
Caused by error in
.fotmob_get_stat_and_season_options()
:! Can't find season stats data. Failed with the following error:
Can't find season stats data. Failed with the following error:
Run
rlang::last_trace()
to see where the error occurred.Warning message:
In sprintf("Can't find season stats data. Failed with the following error:\n", :
one argument not used by format 'Can't find season stats data. Failed with the following error:**
'
I have installed the last version of the library (worldfootballR_0.6.2). How can I fix this problem?
Let me know, many thanks.
Best regards,
Mattia
The text was updated successfully, but these errors were encountered: