Create the data metadata container for a Dataset JSON object
Source:R/data_metadata.R
data_metadata.Rd
Create the data metadata container for a Dataset JSON object
Arguments
- study
Study OID value
- metadata_version
Metadata version OID value
- metadata_ref
Metadata reference (i.e. path to Define.xml)
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")