dataMerge: Alias for 'meld'

dataMergeR Documentation

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
)

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.

Value

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

Examples

## Not run: 
merged <- dataMerge(df1_clean, df2_clean)

## End(Not run)

wizaRdry documentation built on June 8, 2025, 11:30 a.m.