sdtm_join: SDTM join

View source: R/sdtm_join.R View source: R/join.R

sdtm_joinR Documentation

SDTM join

Description

sdtm_join() is a special join between a raw data set and a target data set. This function supports conditioned data frames.

sdtm_join() is a special join between a raw data set and a target data set. This function supports conditioned data frames.

Usage

sdtm_join(raw_dat, tgt_dat = NULL, id_vars = oak_id_vars())

sdtm_join(raw_dat, tgt_dat = NULL, id_vars = oak_id_vars())

Arguments

raw_dat

The raw dataset: a dataframe or a conditioned data frame. Must include the variables passed in id_vars.

tgt_dat

Target dataset: a data frame or a conditioned data frame to be merged against raw_dat by the variables indicated in id_vars.

id_vars

Key variables to be used in the join between the raw dataset (raw_dat) and the target data set (tgt_dat).

Value

A data frame, or a conditioned data frame if at least one of the input data sets is a conditioned data frame.

A data frame, or a conditioned data frame if, at least, one of the input data sets is a conditioned data frame.


sdtm.oak documentation built on April 3, 2025, 9:37 p.m.