Skip to contents

This set of functions

Usage

set_study_oid(x, study, ...)

set_metadata_version(x, metadata_version, ...)

set_metadata_ref(x, metadata_ref)

Arguments

x

data metadata or datasetjson object

study

Study OID value

...

Additional parameters

metadata_version

Metadata version OID value

metadata_ref

Metadata reference (i.e. path to Define.xml)

Value

A datasetjson or data_metadata object

Examples

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")