R4DSXML is R package for import CDISC Dataset-XML and Define-XML as R data frame.
- Support CDISC Dataset-XML 1.0, Define-XML 2.0, 🆕 Define-XML 2.1 and Analysis Results Metadata 1.0.
- Covert from Dataset-XML to R dataframe.
- Extract following metadata from Define-XML as R dataframe.
- Dataset level metadata
- Variable level metadata
- Value level metadata
- Controlled Terms
- Analysis Results Metadata
- From Github with devtools
Run following command in R console.
library(devtools)
install_github("i-akiya/R4DSXML/R4DSXML")
- From package archive file
It is able to obtain source package from Release Page.
- R (>= 3.6.0)
- R package XML
- R package stringr
The GNU Lesser General Public License, version 3.0 (LGPL-3.0)
Masafumi Okada, He expanded the feature to support getting def:ValueListRef value as metadata. Jean-Michel Bodart, He found a bug that is not able to get whole variable metadata and value level metadata from define.xml in case of description element is not found.