
This is a legacy alias for the 'meld' function to maintain compatibility with older code.
dataMerge(
...,
by = NULL,
all = TRUE,
no.dups = FALSE,
csv = FALSE,
rdata = FALSE,
spss = FALSE
)
A merged data frame based on the specified or common candidate keys.
Clean data frames to be merged.
A vector of strings specifying the column names to be used as merge keys. If NULL, the function automatically determines common keys from the provided data frames.
Logical; if TRUE, performs an OUTER JOIN. If FALSE, performs an INNER JOIN.
Logical; if TRUE, duplicates are removed post-merge.
Logical; if TRUE, the merged data frame is exported as a CSV file.
Logical; if TRUE, the merged data frame is saved as an Rda file.
Logical; if TRUE, the merged data frame is exported as an SPSS file.
if (FALSE) {
merged <- dataMerge(df1_clean, df2_clean)
}
Run the code above in your browser using DataLab