get_from_domain: Get a column from a domain

View source: R/lookup_domain.R

get_from_domainR Documentation

Get a column from a domain

Description

Get a column from a domain

Usage

get_from_domain(domain, column, .unique = TRUE, .unlist = TRUE)

Arguments

domain

Quoted name of the domain data object

column

Quoted name of the column from which to pull values

.unique

A logical (default TRUE) stating if the return values should be reduced to just unique values.

.unlist

A logical (default TRUE) stating if the return value should be converted an array (e.g., instead of a data_frame column)

Value

A data_frame column or array of values

Examples

## Not run: 
# get the unique subject ids in DM
get_from_domain("DM","USUBJID")

## End(Not run)


qPharmetra/PMDatR documentation built on April 7, 2024, 5:42 p.m.