View source: R/domain_example.R
domain_example | R Documentation |
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.
domain_example(example)
example |
A string with either the basename, file name, or relative path
to a SDTM domain example file bundled with |
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}
.
"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.
The local path to an example file if example
is supplied, or a
character vector of example file names.
See https://cran.r-project.org/package=pharmaversesdtm.
read_domain_example()
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.