data_metadata {datasetjson} | R Documentation |
Create the data metadata container for a Dataset JSON object
Description
Create the data metadata container for a Dataset JSON object
Usage
data_metadata(study = NULL, metadata_version = NULL, metadata_ref = NULL)
Arguments
study |
Study OID value |
metadata_version |
Metadata version OID value |
metadata_ref |
Metadata reference (i.e. path to Define.xml) |
Value
data_metadata object
Examples
# Create object directly
data_meta <- data_metadata(
study = "SOMESTUDY",
metadata_version = "MDV.MSGv2.0.SDTMIG.3.3.SDTM.1.7",
metadata_ref = "some/define.xml"
)
# Use setter functions
data_meta <- data_metadata()
data_meta_updated <- set_metadata_ref(data_meta, "some/define.xml")
data_meta_updated <- set_metadata_version(data_meta_updated, "MDV.MSGv2.0.SDTMIG.3.3.SDTM.1.7")
data_meta_updated <- set_study_oid(data_meta_updated, "SOMESTUDY")
[Package datasetjson version 0.2.0 Index]