Learn R Programming

rddi (version 0.1.1)

as_xml_string: Shortcut to text representation of DDI XML

Description

Functionally equivalent to as.character(as_xml(ddi_node_obj)).

Usage

as_xml_string(x, ...)

Value

A string containing the text representation of XML.

Arguments

x

A ddi_node object.

...

Arguments forwarded to as_xml().

Examples

Run this code
cb <- ddi_codeBook(ddi_stdyDscr(ddi_citation(ddi_titlStmt(ddi_titl("Sample")))))
as_xml_string(cb)

Run the code above in your browser using DataLab