write_xlum.Rd
Create XLUM-files using xml2::read_xml
write_xlum(x, file, encode_base64 = FALSE, ...)
xlum_list
, list, xml2::xml_document (required) : input object
character (required): valid file path and file name with ending
.xlum
(will be add automatically if needed)
logical (with default): enable/disable base64 encoding for values
in the <curve/>
node. Please note that this parameter works only if the input is of
class xlum_list
further arguments to be passed to xml2::write_xml
Creates an XML-file with ending *.xlum
0.1.0
Kreutzer, S., 2022. write_xlum(): Write XLUM-files. Function version 0.1.0. In: Kreutzer, S., 2022. xlum: Read, Write, and Convert XLUM Data. R package version 0.1.0.
file <- system.file("extdata/xlum_prototype.xlum", package="xlum")
out_file <- tempfile()
xlum_data <- read_xlum(file)
write_xlum(xlum_data, out_file)