Learn R Programming

N2H4 (version 0.5.2)

getContentPress: Get Content Press name.

Description

Get naver news press name from link.

Usage

getContentPress(html_obj,
  press_node_info = "div.article_header div a img",
  press_attr = "title")

Arguments

html_obj

"xml_document" "xml_node" using read_html function.

press_node_info

Information about node names like tag with class or id. Default is "div.article_info h3" for naver news title.

press_attr

if you want to get attribution text, please write down here. Defalt is "title".

Value

Get character press.