get_node_attrs: Convert XML node attributes (and optionally content) to a...

Description Usage Arguments Value

View source: R/rough_convert.R

Description

This function extends 'xml2::xml_attrs()', by adding the option to add the node content as an additional key 'content' to the list created by 'xml2::xml_attrs()'.

Usage

1
get_node_attrs(nodes, add_content = F)

Arguments

nodes

an 'xml2' 'nodeset'

add_content

a boolean

Value

A list of character vectors


xvrdm/ggrough documentation built on June 26, 2018, 12:17 p.m.