get_comments function

Hacker News nested comments

Hacker News nested comments

Retrieves all comments under an item using Hacker News API

get_comments(item)

Arguments

  • item: item whose children (comments) will be retrieved

Returns

dataframe of all comments under an item

Examples

story <- get_item_by_id(21499889) comments <- get_comments(story) comments
  • Maintainer: Ryszard Szymanski
  • License: MIT + file LICENSE
  • Last published: 2019-12-13