pre.merge: Pre-merge one domain with another

View source: R/merge_functions.R

pre.mergeR Documentation

Pre-merge one domain with another

Description

Pre-merge one domain with another

Usage

pre.merge(dom1, dom2, keys, .filter, jointype = "left", supp = F, ...)

Arguments

dom1

The primary domain object that will contain the result

dom2

The secondary domain object that will be merged into dom1

keys

The columns to use for merging (character vector)

.filter

A filter to apply to the secondary domain before the merge is completed.

jointype

One of "left", "right", "inner", "full".

supp

Logical indicating if the pre.merge function should treat dom2 as a CDISC SUPPQUAL domain.

...

Additional named arguments for the columns to include from dom2 May include tranfsormations. As of version 0.5 all columns from dom2 are included.

Details

The first domain dom1 is merged with a second domain dom2. The second domain is loaded, de novo, and the raw input data is available from the source file for merging with the first domain. If supp is TRUE then dom2 will be unstacked on QNAM and QVAL, which must be present in dom2 or supplied in the additional arguments. (...).

Value

A tbl_df with the merged data


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