xml2Data: Convert the XML file to ccRecord

xml2DataR Documentation

Convert the XML file to ccRecord

Description

Convert the XML file to ccRecord. For more details, see ccRecord-class.

Usage

xml2Data(file, select.episode = NULL, quiet = TRUE, xml = NULL,
  file_origin = "NA", parse_time = Sys.time())

Arguments

file

character string. The path of XML file.

select.episode

integer vector. Load only a selected number of episodes. It is NULL by default which loads all the episodes in a file.

quiet

logical. Switch on/off the progress bar.

xml

XML object. Usually not needed.

file_origin

character string. The XML file name. The file name will be extracted automatically while argument xml is NULL.

parse_time

POSIXct. By default is the time of the execution of this function.

Value

ccRecord-class


CC-HIC/cleanEHR documentation built on Aug. 28, 2022, 10:33 a.m.