Learn R Programming

cleanEHR (version 0.1)

update_database: Update the critical care database (RData)

Description

Parse critical care data from XML files and inject them into the RData database.

Usage

update_database(xml.path, restart = FALSE, splitxml = FALSE, mc.cores = 4,
  quiet = FALSE)

Arguments

xml.path

character the path of the folder of which contains the XML files.

restart

logical purge the previous database and restart parsing for all the XML files presented.

splitxml

logical break down the XML files into chuncks. (Do it when the file is too big)

mc.cores

integer number of processors to be applied for parallelisation.

quiet

logical show the progress bar if true