identify_elements: Assemble XPath expressions for header and body

Description Usage Arguments Value

View source: R/identify_rows.R

Description

Assemble XPath expressions for header and body

Usage

1
identify_elements(table.Node, header, body, complementary = T)

Arguments

table.Node

the table node

header

a vector that contains information for the identification of the header row(s). A numeric vector can be specified where each element corresponds to the table rows. A character vector may be specified that describes an XPath for the header rows. If left unspecified, htmltable tries to use semantic information from the HTML code

body

a vector that specifies which table rows should be used as body information. A numeric vector can be specified where each element corresponds to a table row. A character vector may be specified that describes an XPath for the body rows. If left unspecified, htmltable tries to use semantic information from the HTML code

complementary

logical, should htmltab ensure complementarity of header, inbody header and body elements (default TRUE)?

Value

a character vector of XPath statements


htmltab documentation built on Sept. 16, 2021, 5:07 p.m.