1.7 billion reddit comments loaded on BigQuery
Dataset published and compiled by u/Stuck_In_the_Matrix, in r/datasets.
Tables available on BigQuery at https://bigquery.cloud.google.com/table/fh-bigquery:reddit_comments.2015_05.
Sample visualization: Most common reddit comments, and their average score (view in Tableau):
SELECT RANK() OVER(ORDER BY count DESC) rank, count, comment, avg_score, count_subs, count_authors, example_id
FROM (
SELECT comment, COUNT(*) count, AVG(avg_score) avg_score, COUNT(UNIQUE(subs)) count_subs, COUNT(UNIQUE(author)) count_authors, FIRST(example_id) example_id
FROM (
SELECT body comment, author, AVG(score) avg_score, UNIQUE(subreddit) subs, FIRST('http://reddit.com/r/'+subreddit+'/comments/'+REGEXP_REPLACE(link_id, 't[0-9]_','')+'/c/'+id) example_id
FROM [fh-bigquery:reddit_comments.2015_05]
WHERE author NOT IN (SELECT author FROM [fh-bigquery:reddit_comments.bots_201505])
AND subreddit IN (SELECT subreddit FROM [fh-bigquery:reddit_comments.subr_rank_201505] WHERE authors>10000)
GROUP EACH BY 1, 2
)
GROUP EACH BY 1
ORDER BY 2 DESC
LIMIT 300
)
| count | comment | avg_score | count_subs | count_authors | example_id |
|---|---|---|---|---|---|
| 6056 | Thanks! | 1.808790956 | 132 | 5920 | /r/pcmasterrace/comments/34tnkh/c/cqymdpy |
| 5887 | Yes | 5.6868377856 | 131 | 5731 | /r/AdviceAnimals/comments/37s8vv/c/crpkuqv |
| 5441 | Yes. | 8.7958409805 | 129 | 5293 | /r/movies/comments/36mruc/c/crfzgtq |
| 4668 | lol | 3.3695471736 | 121 | 4443 | /r/2007scape/comments/34y3as/c/cqz4syu |
| 4256 | :( | 10.2876656485 | 121 | 4145 | /r/AskReddit/comments/35owvx/c/cr70qla |
| 3852 | No. | 3.8500449796 | 127 | 3738 | /r/MMA/comments/36kokn/c/crese9p |
| 3531 | F | 6.2622771182 | 106 | 3357 | /r/gaming/comments/35dxln/c/cr3mr06 |
| 3466 | No | 3.5924608652 | 124 | 3353 | /r/PS4/comments/359xxn/c/cr3h8c7 |
| 3386 | Thank you! | 2.6401087044 | 133 | 3344 | /r/MakeupAddiction/comments/35q806/c/cr8dql8 |
| 3290 | yes | 5.7376822933 | 125 | 3216 | /r/todayilearned/comments/34m93d/c/cqw7yuv |
| 3023 | Why? | 3.0268486256 | 124 | 2952 | /r/nfl/comments/34gp9p/c/cquhmx3 |
| 2810 | What? | 3.4551855151 | 124 | 2726 | /r/mildlyinteresting/comments/36vioz/c/crhzdw8 |
| 2737 | Lol | 2.7517415802 | 120 | 2603 | /r/AskReddit/comments/36kja4/c/crereph |
| 2733 | no | 3.5260048606 | 123 | 2662 | /r/AskReddit/comments/36u262/c/crha851 |
| 2545 | Thanks | 2.3659433794 | 124 | 2492 | /r/4chan/comments/34yx0y/c/cqzx7x5 |
| 2319 | ( ͡° ͜ʖ ͡°) | 12.6626049876 | 108 | 2145 | /r/millionairemakers/comments/36xf3t/c/cri8f4u |
| 2115 | :) | 5.6482539926 | 115 | 2071 | /r/politics/comments/35vfjl/c/cr9xw02 |
| 1975 | Source? | 3.6242656355 | 116 | 1921 | /r/todayilearned/comments/37bvmu/c/crlkdc2 |
Posted Jul 7, 2015, 8:01 AM UTC · edited
7569