get_values | R Documentation |
SVG files and the imported representation of class 'XMLsvg' are
hierarchically organized in node sets and nodes. Each node is a graphical
object such as a path, rectangle, or text. The values of these nodes
can be queried using this function. A typical application for this
function is to query the content of a text field. If you want to retrieve
the (style) _attributes_ of a text field, use get_attributes()
instead.
get_values(xml, node = NULL, node_attr = "label")
xml |
(XMLsvg) XMLsvg object obtained from |
node |
(character) node(s) to be modified. Node names are searched using the 'node_attr' field |
node_attr |
(character) name of the attribute by which target nodes are filtered (default: "label") |
Returns a named list with values for the queried nodes (or NULL if no value exists)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.