Hi, I have two data files I want to merge. The issue is I don't have an ID column shared by both files. Instead, I want to merge based off other criteria like matching email addresses.
How could I merge with the following rules:
if two email addresses match, the records match.
Otherwise, if the name and date of birth match, it's a match.
Also, how could I account for differences in names such as "David" and "Dave"?
Would the merge command work in this situation?
Related Posts with Merging two files on multiple criteria and imperfect matching?
Is it possible to add multiple recode commands to one newly generated variable?Hello all! I saw a few forums that were somewhat similar to this but did not answer this exact quest…
reshaping from long to long dataHi Everyone, I have a dataset that I want to reshape it from long format to long format. My dataset …
marginsplot and legend labelsHello, I'm attempting to graph a margins plot, but my legend labels command doesn't change the label…
How to extract part of string between two symbols?I have a string variable and try to keep part of this variable. This variable is a string and the va…
SubcontractingHey everyone! I am looking for an econometric model for my research. I will be using the CPS Conti…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two files on multiple criteria and imperfect matching?
Post a Comment