lichess.org
Donate

How to pick a random player?

Hello, I'm trying to make a statistical research on lichess users, but apparently there's no way to pick random players (needed for it). Do you know any?
I belive you could iterate trough all players in the api
Apparently to pick a random player is not possible, anyway I just found a very good resource for statistical analysis database.lichess.org/
It should be enough :)
@medieroed said in #6:
> I belive you could iterate trough all players in the api

I looked into that, but I didn't found a way.
I suppose a manual and rather rudimentary way of doing this would be to use a random number generator to repeatedly generate values between 1 and 37 (corresponding to A-Z, 0-9, and _ ) and manually construct a username that way, typing it into the search bar on the main page until only a single username appears. (Whether this is statistically sound or not is another matter entirely--that depends on your generator, of course--and this would honestly be a pain to do if you have more than, say, 20 accounts to analyze, but it will probably work otherwise.)
@Nel_S said in #9:
> I suppose a manual and rather rudimentary way of doing this would be to use a random number generator to repeatedly generate values between 1 and 37 (corresponding to A-Z, 0-9, and _ ) and manually construct a username that way, typing it into the search bar on the main page until only a single username appears. (Whether this is statistically sound or not is another matter entirely--that depends on your generator, of course--and this would honestly be a pain to do if you have more than, say, 20 accounts to analyze, but it will probably work otherwise.)

This is unsound if you want a sample of chess users on Lichess because players who choose random sequences of letters and numbers for username might not be representative of chess players as a group. Crazy? Genius? Autistic?

This topic has been archived and can no longer be replied to.