Learn R Programming

hackeRnews (version 0.2.1)

get_items_by_ids: Get Hacker News by ids

Description

Retrieves items corresponding to specified list of ids using Hacker News API

Usage

get_items_by_ids(ids)

Value

list of hn_item objects

Arguments

ids

list of ids

Examples

Run this code
# \donttest{
# retrieve the first two items on Hacker News
items <- get_items_by_ids(c(1,2))
items
# }

Run the code above in your browser using DataLab