[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: PSPP 1.2 BUG? Extra Variable/Value labels
From: |
John Darrington |
Subject: |
Re: PSPP-BUG: PSPP 1.2 BUG? Extra Variable/Value labels |
Date: |
Wed, 27 Mar 2019 19:43:59 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Mar 26, 2019 at 05:27:06PM +0000, Brian Carson wrote:
John,
Thanks for reaching out. I am attaching something that shows what
happens. Basically, I went in and removed two variables (census4
& census9) from the top part right after Q2, but left them below
in the value/variable label sections. If you look at the output
log, you will see the error it creates. The data itself is all
loaded in, but all the value/variable labels are removed from
where those extra questions appear. The image shows the .sav not
having any labels after the missing questions
In SPSS however, it just gives a warning, but continues to run
the data with all labels still appended.
I cannot send the actual data because of security concerns, but
this should be enough to explain the issues we have.
The best suggestion I can make is to put your value/variable label
definitions into separate commands. That is to say, don't write
VARIABLE LABELS
cfmc_case_id "CfMC Case ID"
weeknum "Survey Week Number"
dayofweek "Day of Week Completed"
...
instead, write
VARIABLE LABELS cfmc_case_id "CfMC Case ID".
VARIABLE LABELS weeknum "Survey Week Number".
VARIABLE LABELS dayofweek "Day of Week Completed".
In this way, if one command fails due to the absence of a variable
definition, it'll not affect the other commands.
J'
signature.asc
Description: PGP signature