Description Usage Arguments Value Functions Examples
View source: R/xml_text_first.R
Extract first xml text
1 2 3 | xml_text_first(nodes, xpath)
xml_attr_first(nodes, xpath, attr)
|
nodes |
article node set with PMID names |
xpath |
xml node name |
attr |
xml attribute name |
A vector. Used by pubmed_table
to add additional columns
xml_attr_first
: Extract first xml attribute as vector
1 2 | aq <- pubmed_nodeset(aqc)
xml_text_first(aq, "//Author/LastName")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.