join_df.Rd
Given a list of data.frame or data.table, it outputs a data.table by merging them together
join_df(dfList, setCol = TRUE, setNAtoZero = T, ...)
A list of data.frame or data.table
Whether to add a 'set' column for each input data as an indicator of data origin. When TRUE, a new column (set1, set2, etc) is added to each input data; when FALSE, nothing is added. Alternatively, one can provide a character vector to be used as the names of the indicator columns. The elements of the indicator columns are all '1's.
If TRUE, the NAs in the indicator columns are set to '0'.
The parameters passed to data.table::merge()
directly
A data.table object