Retreives the docDscr, stdyDscr and fileDscr nodes from a DDI document, storing them in a named list and returning the list

GetDDIDescription(ddi)

Arguments

ddi

A named list created using the ReadDDI function

Value

Returns a named list with the following members:
docDscr - Contains the docDscr node in the DDI document
stdyDscr - Contains the stdyDscr node in the DDI document
fileDscr - Contains the fileDscr node in the DDI document

Examples

library(bllflow) pbcDDI <- bllflow::ReadDDI(system.file("extdata", "", package="bllflow"), "pbcDDI.xml") pbcDDIHeaders <- bllflow::GetDDIDescription(pbcDDI) print(names(pbcDDIHeaders))
#> [1] "docDscr" "stdyDscr" "fileDscr"