getComment: Get Comment

Description Usage Arguments Value

Description

Get naver news comments if you want to get data only comment, enter commend like below. getComment(url)$result$commentList[[1]]

Usage

1
2
getComment(turl = url, pageSize = 10, page = 1, sort = c("favorite",
  "reply", "old", "new"))

Arguments

turl

like 'http://news.naver.com/main/read.nhn?mode=LSD&mid=shm&sid1=100&oid=056&aid=0010335895'.

pageSize

is number of comment. defult is 10.

page

is defult is 1.

sort

you can select favorite, reply, old, new. favorite is defult.

Value

Get data.frame.


kwanhong66/n2h4_modified documentation built on May 20, 2019, 7:07 p.m.