Table: hackernews_job - Query Hacker News Jobs using SQL
Hacker News is a social news website focusing on computer science and entrepreneurship. It is run by investment fund and startup incubator, Y Combinator. In particular, the 'Jobs' section on Hacker News is a common go-to for tech professionals and startups to post and find job listings.
Table Usage Guide
The hackernews_job
table provides insights into job postings on Hacker News. As a job seeker or recruiter, explore job-specific details through this table, including job titles, company names, and URLs. Utilize it to uncover information about the job market in the tech industry, such as trending job roles, popular companies hiring, and the nature of job descriptions.
Examples
Job stories by score
Discover the job postings on Hacker News that have received the highest scores. This can be beneficial for understanding which job listings are most popular or garner the most attention.
select *from hackernews_joborder by score desc;
select *from hackernews_joborder by score desc;
Job stories with most comments
Explore which job stories on HackerNews are generating the most discussion, helping you to identify popular topics and trends within the tech job market.
select *from hackernews_joborder by descendants desc;
select *from hackernews_joborder by descendants desc;
Query examples
Schema for hackernews_job
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
by | text | The username of the item's author. | |
dead | boolean | True if the item is dead. | |
deleted | boolean | True if the item is deleted. | |
descendants | bigint | In the case of stories or polls, the total comment count. | |
id | bigint | = | The item's unique id. |
kids | jsonb | The ids of the item's comments, in ranked display order. | |
parent | bigint | The comment's parent: either another comment or the relevant story. | |
parts | jsonb | A list of related pollopts, in display order. | |
poll | bigint | The pollopt's associated poll. | |
score | bigint | The story's score, or the votes for a pollopt. | |
text | text | The comment, story or poll text. HTML. | |
time | timestamp with time zone | Timestamp when the item was created. | |
title | text | The title of the story, poll or job. HTML. | |
type | text | The type of item. One of "job", "story", "comment", "poll", or "pollopt". | |
url | text | The URL of the story. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- hackernews
You can pass the configuration to the command with the --config
argument:
steampipe_export_hackernews --config '<your_config>' hackernews_job