Recommend
15 
 Thumb up
 Hide
12 Posts

BoardGameGeek» Forums » BoardGameGeek Related » BGG General

Subject: Collection overlap calculator rss

Your Tags: Add tags
Popular Tags: xmlapi [+] stats [+] collection [+] [View All]
Matthew Gray
United States
Reading
Massachusetts
flag msg tools
admin
Avatar
mbmbmbmbmb
Inspired in part by msaari's resurrection of the correlation calculator (http://www.boardgamegeek.com/thread/130097/page/1), I thought it would be neat to be able to easily calculate collection overlap as well as identify the rarest portions of that overlap. So, using the XML API (with one small extension, which will be generally available soon), I made a tool that does just that:

http://boardgamestuff.com/cgi/bggcolloverlap

The "score" is simply an average of the percentage overlaps relative to each collection. I like this number in that it captures what I subjectively think of as "collection similarity".

For me, a few examples:


User Games in common "Score" Rarest overlap
Aldie 333 43 Spinball
Kaelistus 130 38 Pagoda
Octavian 91 35 Techno Witches
TomVasel 258 33 Moby Pick
msaari 65 27 Klondike
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Mikko Saari
Finland
flag msg tools
http://www.lautapeliopas.fi/ - the best Finnish board game resource!
badge
Avatar
mbmbmbmbmb
Ooh, nice! This is pretty cool (and I'm curious what the small extension is about...).
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Ray
United States
Carpentersville
Illinois
flag msg tools
badge
Avatar
mbmbmbmbmb
Stop it! I'm running out of quickbar!
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Play Games - Interact - Have Fun!
United States
California
flag msg tools
badge
Avatar
mbmbmbmbmb
mkgray wrote:
Inspired in part by msaari's resurrection of the correlation calculator (http://www.boardgamegeek.com/thread/130097/page/1), I thought it would be neat to be able to easily calculate collection overlap as well as identify the rarest portions of that overlap. So, using the XML API (with one small extension, which will be generally available soon), I made a tool that does just that:

http://boardgamestuff.com/cgi/bggcolloverlap

The "score" is simply an average of the percentage overlaps relative to each collection. I like this number in that it captures what I subjectively think of as "collection similarity".

For me, a few examples:


User Games in common "Score" Rarest overlap
Aldie 333 43 Spinball
Kaelistus 130 38 Pagoda
Octavian 91 35 Techno Witches
TomVasel 258 33 Moby Pick
msaari 65 27 Klondike



My examples:
User Games in common "Score" Rarest overlap
mkgray................154................24.5......Camelot
Aldie.................209................26........Infinity (Cool!)
TomVasel..............203................25.5......Weapons & Warriors
DWTripp...............63.................26........Fury of the Clansmen
ynnen.................173................29........Red Hot Yott
tinytimidfluffybunny 59.................33........Streets of Fire -ASL
Thommy8...............53.................33........Trivial Pursuit #5
Sky Knight X..........80.................26........Battlecards: World Conflict


It's an interesting tool. I have yet to find anyone above the 33 I have with Thommy8.




 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Matthew Gray
United States
Reading
Massachusetts
flag msg tools
admin
Avatar
mbmbmbmbmb
msaari wrote:
Ooh, nice! This is pretty cool (and I'm curious what the small extension is about...).


Games in the /xmlapi/collection view now have an "owners" attribute which says how many people have listed that game as owned. It lets you see, for example, which games you have that are the rarest among the BGG community.

Eg, I'm the only one who lists "Hat In The Ring" and one of two who owns "Stapelei" and "Rutschpartie mit Winnie the Pooh".
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
...sure...
Netherlands
Rijen
Noord Brabant
flag msg tools
badge
Avatar
mbmbmbmbmb
manowarplayer wrote:
It's an interesting tool. I have yet to find anyone above the 33 I have with Thommy8.


Quote:
Overlap score: 34


Me.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Richard Pardoe
United States
flag msg tools
badge
Avatar
manowarplayer wrote:
I have yet to find anyone above the 33 I have with Thommy8.


Sorry, Scott (and Bas)....

Overlap score: 40
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
King of the Dead
United States
Los Angeles
California
flag msg tools
badge
Avatar
mbmbmbmbmb
EDIT: WOOPS never mind... i was reading the stats wrong...

blush
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
mkgray wrote:
Games in the /xmlapi/collection view now have an "owners" attribute which says how many people have listed that game as owned.

It looks like /xmlapi/game/123?stats=1 also now returns an owned tag? Or was it returning it before and I missed it?
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Matthew Gray
United States
Reading
Massachusetts
flag msg tools
admin
Avatar
mbmbmbmbmb
JeffyJeff wrote:
mkgray wrote:
Games in the /xmlapi/collection view now have an "owners" attribute which says how many people have listed that game as owned.

It looks like /xmlapi/game/123?stats=1 also now returns an owned tag? Or was it returning it before and I missed it?


Oh, yeah, that too. I forgot I put that in.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Ricardo Madeira
Portugal
Porto Salvo
flag msg tools
badge
Avatar
mbmbmbmbmb
mkgray wrote:
Games in the /xmlapi/collection view now have an "owners" attribute which says how many people have listed that game as owned. It lets you see, for example, which games you have that are the rarest among the BGG community.


Nice!!

How about a "wishers" attribute too, giving the total number of people that have the game in their wishlists? Might be something fun about comparing the numbers of owners and wishers across several games... or not.

 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Juan Carlos Goyes
Colombia
Bogota
Cundinamarca
flag msg tools
badge
It’s true hard work never killed anyone, but I figure, why take the chance? - Ronald Reagan
Avatar
mbmbmbmbmb
It does´t appear to be working anymore
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.