Re: How to remove extraneous value labels. Keep only that actuallu occur in data.

Posted by Art Kendall on
URL: http://spssx-discussion.165.s1.nabble.com/How-to-remove-extraneous-value-labels-Keep-only-that-actuallu-occur-in-data-tp5739723p5740382.html

for later version of SPSS

begin program python3.
import spssaux, spssaux2
   
varstocheck = spssaux.VariableDict(variableLevel=['nominal', 'ordinal'])
unlabelled = spssaux2.FindUnlabelledValues(varstocheck)
for k, v in unlabelled.items():
    print (k, v)
end program.




-----
Art Kendall
Social Research Consultants
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Art Kendall
Social Research Consultants