A few months ago a user reported that some syntax and data from a survey
website did not work properly with PSPP:
http://lists.gnu.org/archive/html/pspp-users/2013-05/msg00028.html
The problem was that the website produces files whose lines end only
with carriage returns (CRs), not with either line feeds (LFs) or CR+LF
pairs, as is conventional.
My question now is whether these files work with SPSS. I'm attaching
samples output by the survey website. If you have access to SPSS, then
I would appreciate it if you would try these files out and report back
the results.
Thanks,
Ben.
GET DATA
/TYPE = TXT
/DELCASE = LINE
/DELIMITERS = ';'
/ARRANGEMENT = DELIMITED
/FIRSTCASE = 2
/IMPORTCASE = ALL
/FILE = 'spssdata.csv'
/VARIABLES = q001001 F5
q002001 F5
scode F5
id F5
starttime F5
duration F5
completed F5
.
VARIABLE LABELS q001001 'What do you think?'
q002001 'How do you feel?'
scode 'scode'
id 'id'
starttime 'starttime'
duration 'duration'
completed 'completed'
.
VALUE LABELS q001001 1 'a' 2 'b' 3 'c' 4 'd' 5 'e'
/q002001 1 'f' 2 'g' 3 'h' 4 'j' 5 'k'
.
CACHE.
EXECUTE.
q001001;q002001;scode;id;starttime;duration;completed;
3;5;JTSDCAENDANX;USCVVKSEMKRT;2013-09-09 02:04:51;6;1;
3;4;JTSDCAENDANX;GZBCCEDPWCNF;2013-09-09 02:05:21;7;1;
_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users