-
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
arguments imply differing number of rows #127
Comments
Hi, Can you please provide the full code used that leads to the error. Also, the output of |
Thank you for your answer. This is the full code: library(worldfootballR) almeria_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/ud-almeria/startseite/verein/3302/saison_id/2021") valladolid_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/real-valladolid/startseite/verein/366/saison_id/2021") leganes_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/cd-leganes/startseite/verein/1244/saison_id/2021") rsoc_b_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/real-sociedad-b/startseite/verein/9899/saison_id/2021") eibar_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/sd-eibar/startseite/verein/1533/saison_id/2021") huesca_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/sd-huesca/startseite/verein/5358/saison_id/2021") sporting_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/sporting-gijon/startseite/verein/2448/saison_id/2021") girona_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/fc-girona/startseite/verein/12321/saison_id/2021") zaragoza_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/real-saragossa/startseite/verein/142/saison_id/2021") malaga_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/fc-malaga/startseite/verein/1084/saison_id/2021") laspalmas_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/ud-las-palmas/startseite/verein/472/saison_id/2021") mirandes_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/cd-mirandes/startseite/verein/13222/saison_id/2021") tenerife_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/cd-teneriffa/startseite/verein/648/saison_id/2021") oviedo_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/real-oviedo/startseite/verein/2497/saison_id/2021") fuenlabrada_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/fc-fuenlabrada/startseite/verein/16486/saison_id/2021") ponfe_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/sd-ponferradina/startseite/verein/4032/saison_id/2021") cartagena_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/fc-cartagena/startseite/verein/7077/saison_id/2021") ibiza_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/ud-ibiza/startseite/verein/13241/saison_id/2021") amorebieta_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/sd-amorebieta/startseite/verein/16575/saison_id/2021") burgos_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/burgos-cf/startseite/verein/1536/saison_id/2021") lugo_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/cd-lugo/startseite/verein/11000/saison_id/2021") alcorocon_pl_bios<- tm_team_player_urls("https://www.transfermarkt.com/ad-alcorcon/startseite/verein/11596/saison_id/2021") In this case, 'MAL_bios', 'FUE_bios' and 'IBI_bios' return "arguments imply differing number of rows: 3, 0" as an error. There is also something very strange in the case of MAL_bios. The results returned are those of a team called Mallorca (https://www.transfermarkt.com/rcd-mallorca/startseite/verein/237/saison_id=2021) not Malaga (https://www.transfermarkt.com/fc-malaga/startseite/verein/1084/saison_id/2021). |
Hi, again.
Thanks |
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
I'm not too sure why you're getting these errors unfortunately... I will leave this issue open in the hope that anyone else with this problem has come up with a solution. |
Thank you very much |
Hi, Here a reproducible call: If I understand correctly, the problem is that the function looks for a css tag ( The code fails to get the information, but does not track the error and instead returns a I also noticed that the function does not return any nationality when the I hope this helps! |
Hi, I am trying to scrap players data from Transfermarkt and I get this error on certain teams. For example, when I try to do it with Dortmund. I don't know how to fix it. Thanks
in data.frame(X1 = c("player_valuation", "max_player_valuation", :
arguments imply differing number of rows: 3, 0
The text was updated successfully, but these errors were encountered: