addChildren | R Documentation |
Add child nodes to the passed parent node
addChildren(node, avps)
node |
An |
avps |
A named list |
An xml2
node with the children appended
library("xml2") parent <- read_xml("<body/>") add_nodes <- list(foo = "bar", fizz = "buzz") parent <- addressr::addChildren(parent, add_nodes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.