I have a simple question, but could not find a solution online. I have two datasets, which mostly contain different variables, but also have common variables (i.e. exactly the same variable name in both datasets). I am looking for an easy way to display - or better, save in a local - all variables that appear in both datasets.
(I could do this manually, but since both datasets contain several hundred variables, that would be a very tedious and time-consuming task.)
I'm looking forward to your comments!
(I could do this manually, but since both datasets contain several hundred variables, that would be a very tedious and time-consuming task.)
I'm looking forward to your comments!

Comment