fetch_attr_paths: Run multiple xpath attribute queries, collecting results in a...

Description Usage Arguments Value

View source: R/xml-helpers.R

Description

Run multiple xpath attribute queries, collecting results in a dataframe

Usage

1
fetch_attr_paths(tree, paths, labels = NULL)

Arguments

tree

an xml document loaded by xml2

paths

a vector of xpaths queries to run

labels

an optional vector of category labels for each query

Value

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


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