extract_table: Extract table from 'xml_node' elements.

Description Usage Arguments Details Value

View source: R/extractors.R

Description

extract_table retrieves a table as data.frame from a parsed HTML page.

Usage

1
extract_table(field, parse_url_cols = TRUE, ...)

Arguments

field

a xml_node or xml_nodeset element

parse_url_cols

whether table should include href attributes from columns that have <a> tags attached to them, defaults to FALSE.

Details

Users should expect unstable results when parse_url_cols is TRUE due to uncovered cases. This function is an ongoing process and shall be modified in the future.

Value

a data.frame containing the extracted table.


leonardodiegues/chewie documentation built on Dec. 21, 2021, 10:41 a.m.