For simple 1:1 merge for example:
data_merge <- (dataset1, dataset2, by.x = "name", by.y = "name")
Is there a way to run a check of the values successfully merged, i.e., a count or flag of those only in merged into the data set from the dataset1, and those only merged in from dataset2, and those successfully matched from both?