dataFrameFillDS {dsBase}R Documentation



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


dataFrameFillDS(, allNames.transmit, class.vect.transmit)


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.


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


the classes of all the variables that are included in the vector allNames.transmit. The classes supported are 'numeric', 'integer', 'character', 'factor' and 'logical'.


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.


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


Demetris Avraam for DataSHIELD Development Team

[Package dsBase version 6.1.0 ]