I have a dataset with about 1000 variables. There are many variables that are coded the same but names are different, see an example, those variables have the same information: nHits and fewfe, also those variables have the same values except League contain some missing data: League dfgwe_23.
How can I find out those variables? So, I wanted to get the list of variables (see below attached) with the same values. In this example fake data, the following variables have the same values except some missing (should ignore missing). Thank you.
Want the following list:
CrAtBat = ab CrBB =fkae CrHits =vrgsd CrHome =dfwef CrRbi =vewef CrRuns =fff Div =wsfde_d Division = vdfgew League =dfgwe_23 Position = fgerg Salary =vregf Team =fre YrMajor = rewa logSalary = fwef nAssts =cefwe nAtBat =efqwef nBB =qfqewfq nError =qfefe nHits =fewfe
... View more