powered by
Retrieves all comments under an item using Hacker News API
get_comments(item)
dataframe of all comments under an item
item whose children (comments) will be retrieved
# \donttest{ story <- get_item_by_id(21499889) comments <- get_comments(story) # Convert to a tibble to improve formatting # as comment content might long tibble::as_tibble(comments) # }
Run the code above in your browser using DataLab