write_xdb_bottomMatter: Close SALUS xdb.xml by writing end elements

Description Usage Arguments Details Examples

View source: R/write_xdb_funs.R

Description

This

Usage

1
2
3
write_xdb_bottomMatter(outFile, closeComponent = "N",
  closeRotation = "N", closeExperiment = "N", writeVersion = "N",
  closeXDB = "N")

Arguments

outFile

Full file path for an existing .xdb.xml to appended to, created with write_xdb_topMatter

closeComponent

Close out a rotation component. 'Y' or 'N'; default is 'N'

closeRotation

Close out a rotation. 'Y' or 'N'; default is 'N'

closeExperiment

Close out an Experiment. 'Y' or 'N'; default is 'N'

writeVersion

write the version control elements. 'Y' or 'N'; default is 'N'

closeXDB

Close out the XDB file. 'Y' or 'N'; default is 'N'

Details

This functioncloses elements and/or writes version control information after the rotation and management has been written See http://salusmodel.glg.msu.edu/salus.ddb.xml for more information about SALUS parameter options. Can be used to close the file completely, or close a component or Experiment before writing additional ones.

Examples

1
2
3
4
5
6
# file path to existing .xdb.xml file created by write_xdb_topMatter
fileOut <- 'C:/Users/deinesji/1PhdJill/test.xdb.xml'

# append rotation component parameters to .xdb.xml; numeric parameters can be character or numeric
write_xdb_bottomMatter(outFile = fileOut, closeComponent = 'N', closeRotation = 'N',
                       closeExperiment = 'N', writeVersion = 'N', closeXDB = 'N')

jdeines/salustools documentation built on May 29, 2019, 1:03 a.m.