View source: R/getCommentHistory.R
getCommentHistory | R Documentation |
Get naver news comments on user histories.
getCommentHistory(turl, commentNo, count = 10, type = c("df", "list"))
turl |
character. News article on 'Naver' such as <https://n.news.naver.com/mnews/article/001/0009205077?sid=102>. News articl url that is not on Naver.com domain will generate an error. |
commentNo |
Parent Comment No. |
count |
is a number of comments. Defualt is 10. "all" works to get all comments. |
type |
type return df or list. Defult is df. df return part of data not all. |
a [tibble][tibble::tibble-package]
## Not run: cno <- getComment("https://n.news.naver.com/mnews/article/421/0002484966?sid=100") getCommentHistory("https://n.news.naver.com/mnews/article/421/0002484966?sid=100", cno$commnetNo[1]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.