Learn R Programming

N2H4 (version 0.5.9)

getAllComment: Get All Comment

Description

Get all comments from the provided news article url on naver

Usage

getAllComment(turl = url, ...)

Arguments

turl

character. News article on 'Naver' such as <http://news.naver.com/main/read.nhn?mode=LSD&mid=shm&sid1=100&oid=056&aid=0010335895>. News articl url that is not on Naver.com domain will generate an error.

...

parameter in getComment function.

Value

a [tibble][tibble::tibble-package]

Details

Works just like getComment, but this function executed in a fashion where it finds and extracts all comments from the given url.

Examples

Run this code
# NOT RUN {
  print(news_url_ex)
  getAllComment(news_url_ex)
  
# }

Run the code above in your browser using DataLab