Learn R Programming

sdtm.oak (version 0.1.0)

domain_example: 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)

Value

The local path to an example file if example is supplied, or a character vector of example file names.

Arguments

example

A string with either the basename, file name, or relative path to a SDTM domain example file bundled with {stdm.oak}, e.g. "cm" (Concomitant Medication) or "ae" (Adverse Events).

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.

See Also

read_domain_example()

Examples

Run this code
# 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")

Run the code above in your browser using DataLab