Learn R Programming

sdtm.oak (version 0.1.0)

read_domain_example: Read an example SDTM domain

Description

read_domain_example() imports one of the bundled SDTM domain examples as a tibble into R. See domain_example() for possible choices.

Usage

read_domain_example(example)

Value

A tibble with an SDTM domain dataset, or a character vector of example file names.

Arguments

example

The name of SDTM domain example, e.g. "cm" (Concomitant Medication) or "ae" (Adverse Events). Run read_domain_example() for available example files.

See Also

domain_example()

Examples

Run this code
# Leave the `example` parameter as missing for available example files.
read_domain_example()

# Read the example Concomitant Medication domain.
read_domain_example("cm")

# Read the example Adverse Events domain.
read_domain_example("ae")

Run the code above in your browser using DataLab