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?
Intergenerational Income Mobility analysis - Matching child information to parents across rowsHi, I am using Stata 16 and carrying out analysis on intergenerational income mobility, using the U…
Error with -fre- (SSC) when using strings with Chinese (traditional) textWhen using -fre- from Ben Jann (on SSC) with string variables containing Chinese (traditional) text,…
Destring-Ignore-Backtick Command with "Too Few Quotes" ErrorHi Everyone. Started using Stata a few weeks ago and now I am addicted! I am currently trying run th…
Replace missing values in group dataHi everyone, Was looking for a solution to the following problem. I have a panel data that has som…
Logistic Additive Model, dfHow to include df in logistic model and generate graph like below with different degress of greedom?…
Subscribe to:
Post Comments (Atom)
0 Response to Merging two files on multiple criteria and imperfect matching?
Post a Comment