xml2Data: Convert the XML file to ccRecord

Description Usage Arguments Value

View source: R/cchic_xml.R

Description

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

Usage

1
2
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


ropensci/cleanEHR documentation built on June 8, 2018, 1:14 p.m.