parse_html_doc: Parse HTML text or file into an HTMLDocument or HTMLElement

Description Usage Arguments Value

View source: R/parse.R

Description

Parse HTML text or file into an HTMLDocument or HTMLElement

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
parse_html_doc(
  x,
  encoding = "",
  ...,
  as_html = FALSE,
  options = c("RECOVER", "NOERROR", "NOBLANKS")
)

parse_html_elem(
  x,
  encoding = "",
  ...,
  as_html = FALSE,
  options = c("RECOVER", "NOERROR", "NOBLANKS")
)

Arguments

x, encoding, ..., as_html, options

options passed to xml2::read_xml()

Value

XMLDocument or XMLElement


coolbutuseless/minihtml documentation built on March 11, 2020, 5:22 p.m.