These are chat archives for FreeCodeCamp/DataScience

26th
Nov 2015
Rex Schrader
@SaintPeter
Nov 26 2015 00:53
I'm in the 0.1%
about @saintpeter
CamperBot
@camperbot
Nov 26 2015 00:53
:star: 1651 | @saintpeter | http://www.freecodecamp.com/saintpeter
Michael Krebs
@michael-krebs
Nov 26 2015 02:07
@SaintPeter oh dang
Rex Schrader
@SaintPeter
Nov 26 2015 02:08
@michael-krebs ;)
Bianca Mihai
@biancamihai
Nov 26 2015 05:54
@SaintPeter wow :) :D
Rex Schrader
@SaintPeter
Nov 26 2015 05:54
I don't know if it's a great accomplishment or an acknowledgement that I might have spent too much time in the Help rooms ;)
Suzanne Atkinson
@AdventureBear
Nov 26 2015 06:37
about @adventurebear
CamperBot
@camperbot
Nov 26 2015 06:37
:star: 366 | @adventurebear | http://www.freecodecamp.com/adventurebear
Suzanne Atkinson
@AdventureBear
Nov 26 2015 06:37
eh
Roel Verbunt
@roelver
Nov 26 2015 19:41

@BerkeleyTrue The database I use behind the leaderboard contains records with the same info as displayed on the page. So it is definitely an aggregation of the user data in the FCC database. Running this aggregation in real time on the FCC database for 150k users could slow down/blow up the database I guess, so a daily extract would be fine. I'm not a Mongo guru but I can give it a try to write an export query.

Here's my current record :
`rs-ds033744:PRIMARY> db.fccusers.find({"username": "roelver" })

{ "_id" : ObjectId("5616e35ecc915403001ad57e"), "username" : "roelver", "existing" : true, "points" : 382, "ziplines" : 10, "waypoints" : 245, "bonfires" : 46, "basejumps" : 5, "__v" : 40, "img" : "https://avatars.githubusercontent.com/u/476351?v=3", "lastUpdate" : ISODate("2015-11-25T21:55:00.445Z"), "total" : 1120, "basejumpsRecent" : 1, "bonfiresRecent" : 0, "pointsRecent" : 37, "totalRecent" : 97, "waypointsRecent" : 15, "ziplinesRecent" : 0, "following" : [ "QuincyLarson", "SaintPeter", "qualitymanifest", "darrylpargeter", "storbeck", "CodeWingX" ] } `

Roel Verbunt
@roelver
Nov 26 2015 19:50
@BerkeleyTrue Could you please send me my user record (collection user) from the FCC database?
Roel Verbunt
@roelver
Nov 26 2015 22:39
@BerkeleyTrue Here's a node script that may work https://github.com/roelver/fccexport.git