domain_example {sdtm.oak} | R Documentation |
Find the path to an example SDTM domain file
Description
domain_example()
resolves the local path to a SDTM domain example file. The
domain examples files were imported from
pharmaversesdtm. See
Details section for available datasets.
Usage
domain_example(example)
Arguments
example |
A string with either the basename, file name, or relative path
to a SDTM domain example file bundled with |
Details
Datasets were obtained from
pharmaversesdtm but are
originally sourced from the CDISC pilot project or have been
constructed ad-hoc by the
admiral team. These datasets
are bundled with {sdtm.oak}
, thus obviating a dependence on
{pharmaversesdtm}
.
Example SDTM domains
-
"ae"
: Adverse Events (AE) data set. -
"apsc"
: Associated Persons Subject Characteristics (APSC) data set. -
"cm"
: Concomitant Medications (CM) data set. -
"vs"
: Vital Signs (VS) data set.
Value
The local path to an example file if example
is supplied, or a
character vector of example file names.
Source
See https://cran.r-project.org/package=pharmaversesdtm.
See Also
Examples
# If no example is provided it returns a vector of possible choices.
domain_example()
# Get the local path to the Concomitant Medication dataset file.
domain_example("cm")
# Local path to the Adverse Events dataset file.
domain_example("ae")