get_latest_job_stories {hackeRnews}R Documentation

Hacker News latest job stories

Description

Retrieves latest job stories using Hacker News API

Usage

get_latest_job_stories(max_items = NULL)

Arguments

max_items

Maximum number of items to retrieve. If max_items = NULL, returns all available

Details

Parallel api requests can be enabled by running future::plan(future::multiprocess)

Value

list of latest job stories

Examples

# get the latest job story on Hacker News
latest_job_story <- get_latest_job_stories(max_items = 1)
latest_job_story


# get 10 latest job stories on Hacker News
latest_10_job_stories <- get_latest_job_stories(max_items = 10)
latest_10_job_stories

# get all latest job stories on Hacker News
latest_job_stories <- get_latest_job_stories()
latest_job_stories



[Package hackeRnews version 0.1.0 Index]