Hacker News BigQuery Dataset
console.cloud.google.com
Hacker News BigQuery Dataset
1–10 of 38 posts
Re: Hacker News BigQuery Dataset
#2Top posts about bootstrapping (https://news.ycombinator.com/item?id=19258249):
#standardSQL
SELECT *
FROM `bigquery-public-data.hacker_news.full`
WHERE REGEXP_CONTAINS(title, '[Bb]ootstrap')
ORDER BY score DESC
LIMIT 100
Count of YC startup posts over time by month (https://news.ycombinator.com/item?id=19185946): #standardSQL
SELECT TIMESTAMP_TRUNC(timestamp, MONTH) as month_posted,
COUNT(*) as num_posts_gte_5
FROM `bigquery-public-data.hacker_news.full`
WHERE REGEXP_CONTAINS(title, 'YC [S|W][0-9]{2}')
AND score >= 5
AND timestamp >= '2015-01-01'
GROUP BY 1
ORDER BY 1Re: Hacker News BigQuery Dataset
#3Looks like it stopped updating as of February 2nd, but otherwise it's pretty reliable, and as noted in the description, it's free. (you probably won't hit the 1TB limit working with this dataset). Here's a few queries I've done recently to answer ad-hoc questions to get an exact answer: Top posts about bootstrapping ( https://news.ycombinator.com/item?id=19258249 ): #standardSQL SELECT * FROM `bigquery-public-data.ha…
Re: Hacker News BigQuery Dataset
#4What we truly need is common crawl data then we can check specific site on our own.
Or wait, BigQuery simply can't handle common crawl size dataset in their public service!
Otherwise there is no reason to not add it, maybe it puts their search engine/ad business in geoparady.
Is there any other Google public dataset BigQuery like platform? Where their direct search engine/ad platform interests don't get in way of Common Crawl like data searching/indexing?
Re: Hacker News BigQuery Dataset
#5Looks like it stopped updating as of February 2nd, but otherwise it's pretty reliable, and as noted in the description, it's free. (you probably won't hit the 1TB limit working with this dataset). Here's a few queries I've done recently to answer ad-hoc questions to get an exact answer: Top posts about bootstrapping ( https://news.ycombinator.com/item?id=19258249 ): #standardSQL SELECT * FROM `bigquery-public-data.ha…
One thing that I was missing last time I checked was comment ranking data. Neither score nor rank was there for comments posted in recent years. I understand that upvote counts are not available in the API, but ranking should be (as in, the order the comments appear on the page).
Re: Hacker News BigQuery Dataset
#6Earlier quoted context omitted.
One thing that I was missing last time I checked was comment ranking data. Neither score nor rank was there for comments posted in recent years. I understand that upvote counts are not available in the API, but ranking should be (as in, the order the comments appear on the page).
There is now a `ranking` field in the full HN dataset, although I haven't played with it and don't know how robust it is.
Re: Hacker News BigQuery Dataset
#7BigQuery keeps adding useless data. What we truly need is common crawl data then we can check specific site on our own. Or wait, BigQuery simply can't handle common crawl size dataset in their public service! Otherwise there is no reason to not add it, maybe it puts their search engine/ad business in geoparady. Is there any other Google public dataset BigQuery like platform? Where their direct search engine/ad platfo…
Re: Hacker News BigQuery Dataset
#8Re: Hacker News BigQuery Dataset
#9Hacker news is 12 years old. That's an average of 7 comments per day since inception. Wow
#standardSQL
SELECT
author,
count(DISTINCT id) as `num_comments`
FROM `bigquery-public-data.hacker_news.comments`
WHERE id IS NOT NULL
GROUP BY author
ORDER BY num_comments DESC
LIMIT 100;Re: Hacker News BigQuery Dataset
#10A dataset like this is going to have a bunch of personal information in it. When it’s distributed like this, how does that jive with regulations like GDPR? If a HN user would like to delete all their comments, how would that request be forwarded to every user of this dataset?
NB: That's easy to downvote without commenting...