Site
Home / Forum / General Discussion / Trim soccer players with No image or Description?

Trim soccer players with No image or Description?


Posted: 27 Mar 2018 15:32

zag
Posts: 1,558
Joined: Oct 2016

Need some input from you guys...

Should I delete all soccer players without a description or profile image?

Some are very out of date in the lower leagues and its a pain to move them into _Retired group all the time. I am only talking about players with literally no data.

Posted: 27 Mar 2018 15:35

zag
Posts: 1,558
Joined: Oct 2016

SELECT * FROM `players` WHERE `strDescriptionEN` IS NULL AND `strThumb` IS NULL AND `strCutout` IS NULL AND `strFanart1` IS NULL AND strSport='Soccer' ORDER BY `dateBorn` DESC


There are 4,936 players in total

Posted: 27 Mar 2018 16:31

ovokx
Posts: 830
Joined: Jan 2017

I think it could be a good way to clean a bit the DB

Posted: 27 Mar 2018 20:54

edalex
Posts: 88
Joined: Mar 2017

Need some input from you guys...

Should I delete all soccer players without a description or profile image?

Some are very out of date in the lower leagues and its a pain to move them into _Retired group all the time. I am only talking about players with literally no data.

Well, if player is still in team why should it be deleted? Maybe it's possible to check their actual teams or so?
I'm showing defaultplayer image if image is not present.
I.e. MLB teams have maybe 5 players for all teams so deleting some players when so many players are still missing is prematurely I think.

Posted: 28 Mar 2018 08:21

zag
Posts: 1,558
Joined: Oct 2016

Yeh the players are legitimate, but many in the soccer lower leagues simply fall out of a job. I was manually moving them to the _retired section but it was a lot of work.

Posted: 28 Mar 2018 15:54

zag
Posts: 1,558
Joined: Oct 2016

I trimmed the Portuguese league players that had no images or descriptions because it was very outdated and hard to work with. Especially with their single names.

I will leave the rest of the leagues as they look OK.

If anyone wants to help build it up again that would be great

I've already made a start.

https://www.thesportsdb.com/league/4344

I also finally fixed the dupe or "Sporting Lisbon/Sporting CP".


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 6 (Total: 6)