dataFrameFillDS {dsBase}R Documentation

dataFrameFillDS

Description

An assign function called by the clientside ds.dataFrameFill function.

Usage

dataFrameFillDS(df.name, allNames.transmit)

Arguments

df.name

a character string representing the name of the input data frame that will be filled with extra columns with missing values if a number of variables is missing from it compared to the data frames of the other studies used in the analysis.

allNames.transmit

unique names of all the variables that are included in the input data frames from all the used datasources.

Details

This function checks if each study has all the variables compared to the other studies in the analysis. If a study does not have some of the variables, the function generates those variables as vectors of missing values and combines them as columns to the input data frame. Then, the "complete" in terms of the columns dataframe is saved in each server with a name specified by the argument newobj on the clientside.

Value

Nothing is returned to the client. The generated object is written to the serverside.

Author(s)

Demetris Avraam for DataSHIELD Development Team


[Package dsBase version 5.1.0 ]