get_comments: Hacker News nested comments

Description Usage Arguments Value Examples

View source: R/api.R

Description

Retrieves all comments under an item using Hacker News API

Usage

1

Arguments

item

item whose children (comments) will be retrieved

Value

dataframe of all comments under an item

Examples

1
2
3
story <- get_item_by_id(21499889)
comments <- get_comments(story)
comments

hackeRnews documentation built on Dec. 16, 2019, 1:24 a.m.