dssMergeColumns: Merge columns in dataframe

View source: R/dssMergeColumns.R

dssMergeColumnsR Documentation

Merge columns in dataframe

Description

Combine the contents of similar fields with similar codes according to a dictionary.

Usage

dssMergeColumns(df, dictionary, datasources = NULL, async = TRUE)

Arguments

dictionary

a list of the form (output_col_1 = list(input_col_1,... input_col_n), .... output_col_n = list(...)) The input columns will be read in sequence and the existing NAs will be filled with values from the subsequent columns in the list. The end result is the output column.

datasources

same as in datashield.assign

async

same as in datashield.assign

Value

It doesn't return anything, the dataframe in the server session will now contain the new output columns.


sib-swiss/dsSwissKnifeClient documentation built on July 16, 2025, 6:25 p.m.