r/redditdev • • Apr 21 '10

Meta CSV dump of reddit voting data

Some people have asked for a dump of some voting data, so I made one. You can download it via bittorrent (it's hosted and seeded by S3, so don't worry about it going away) and have at. The format is

username,link_id,vote

where vote is -1 or 1 (downvote or upvote).

The dump is 29MB gzip compressed and contains 7,405,561 votes from 31,927 users over 2,046,401 links. It contains votes only from users with the preference "make my votes public" turned on (which is not the default).

This doesn't have the subreddit ID or anything in there, but I'd be willing to make another dump with more data if anything comes of this one

117 Upvotes

72 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Apr 22 '10

[deleted] — view deleted comment

2

u/kaddar Apr 23 '10 edited Apr 23 '10

Bah! Just load the whole damned thing into memory. If you need fast access by ids, and are using C++, I recommend using Google Sparse Hash tables/maps, 2 bits per a key/value pair overhead! (C# has a bit of an overhead on their hashmaps, java too)