getComment | R Documentation |
Get naver news comments. if you want to get data only comment, enter command like below. getComment(url)$result$commentList[[1]]
getComment(turl, count = 10, type = c("df", "list"))
turl |
like <https://n.news.naver.com/mnews/article/023/0003712918>. |
count |
is a number of comments. Defualt is 10. "all" works to get all comments. |
type |
type return df or list. Defualt is df. df return part of data not all. |
a [tibble][tibble::tibble-package]
## Not run: getComment("https://n.news.naver.com/mnews/article/421/0002484966?sid=100") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.