Sometimes datasets come in fragments with a common -ID- variable to merge them by. Merging datasets one by one is a bit tedious and prone to error (e.g. never knowing when to choose 1:m over m:m and so on). Previously I asked a question about appending all datasets in a directory and got some really attractive solutions (link below). So I'm wondering if this is doable for merging as well. Please share your insights.
Thank you.
https://www.statalist.org/forums/for...s-in-directory
Related Posts with Merging all datasets in directory
Make a new group variable of a variableHi! I probably got a simple problem. Let us say I got a variable, called States, with numbers from …
Changing the order of bars in a box plotHi! I want to make a box plot of distribution of 6 different scores (score 1-6) by a grouping varia…
STATA Econometrics modelHey guys, I have another question where I'd like to hear your opinion on. I am currently working on…
Splitting follow-up time in monthsHi, this may seem very basic, but I’m quite new to Stata - I need to compare incidents rates of mort…
Two digit year to four digit year for date makingHello Statalist, I need to use "gen start_date = mdy(month, day, year)" to get a date var. However, …
Subscribe to:
Post Comments (Atom)
0 Response to Merging all datasets in directory
Post a Comment