.get_text | R Documentation |
Returns the text desired according to xpath.
.get_text(article_xml, xpath, find_first)
article_xml |
An xml_document from 'xml2::read_xml'. |
xpath |
The XPath as a character, e.g. "id_info/nct_id". |
find_first |
TRUE to find first mention, FALSE to find all mentions. |
The desired text as a character; if not found, then 'character()'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.