extraction_functions: Extraction functions

Description Usage Arguments Value

Description

These functions extract data from given nodes/attributes from XML item list.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
.nodes2text(xml, xpath, scalar = TRUE)

.nodes2number(xml, xpath, scalar = TRUE)

.nodes2logical(xml, xpath, scalar = TRUE)

.attr2text(xml, xpath, attr, scalar = TRUE)

.attr2number(xml, xpath, attr, scalar = TRUE)

.attr2logical(xml, xpath, attr, scalar = TRUE)

.attr2datetime(xml, xpath, attr, scalar = TRUE)

Arguments

xml

XML item list.

xpath

Single string, name of XPATH expression, for example node name.

attr

Single string, name of attribute

Value

List of elements of equal length as xml.


bggAnalytics documentation built on Sept. 24, 2021, 1:06 a.m.