50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

wizaRdry (version 0.2.6)

dataMerge: Alias for 'meld'

Description

This is a legacy alias for the 'meld' function to maintain compatibility with older code.

Usage

dataMerge(
  ...,
  by = NULL,
  all = TRUE,
  no.dups = FALSE,
  csv = FALSE,
  rdata = FALSE,
  spss = FALSE
)

Value

A merged data frame based on the specified or common candidate keys.

Arguments

...

Clean data frames to be merged.

by

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.

all

Logical; if TRUE, performs an OUTER JOIN. If FALSE, performs an INNER JOIN.

no.dups

Logical; if TRUE, duplicates are removed post-merge.

csv

Logical; if TRUE, the merged data frame is exported as a CSV file.

rdata

Logical; if TRUE, the merged data frame is saved as an Rda file.

spss

Logical; if TRUE, the merged data frame is exported as an SPSS file.

Examples

Run this code
if (FALSE) {
merged <- dataMerge(df1_clean, df2_clean)
}

Run the code above in your browser using DataLab