xml_val | R Documentation |
Get XML values
xml_val(nodeset, xpath)
nodeset |
(xml_node/xml_nodeset) Nodeset |
xpath |
(character) xpath |
Simplifies code by wrapping cnvmt(xml2::xml_text(xml2::xml_find_all(...), trim = T))
(character) Value of xpath
within nodeset
. Returns "" if returned character string has length = 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.