fetch_attr_path: Run xpath attribute query, storing results in a dataframe

Description Usage Arguments Value

View source: R/xml-helpers.R

Description

Run xpath attribute query, storing results in a dataframe

Usage

1
fetch_attr_path(tree, path, label = NULL)

Arguments

tree

an xml document loaded by xml2

path

an xpath to an attribute value in a node

label

an optional category label for the query

Value

a data_frame object with the columns XPath and Value. If a label was supplied, an additional Category column is included.


HomeBankCode/rlena documentation built on April 8, 2020, 9:22 p.m.