dot-get_text: Get the desired text from the xml_document

Description Usage Arguments Value

Description

Returns the text desired according to xpath.

Usage

1
.get_text(xml_doc, xpath)

Arguments

xml_doc

The xml_document version of an XML from ClinicalTrials.gov

xpath

The XPath as a character, e.g. "id_info/nct_id"

Value

The desired text as a character; if not found, then 'character()'


serghiou/clinicaltrialr documentation built on Dec. 27, 2021, 10:53 a.m.