bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #41864] Exporting SPSS metadata with "DISPLAY DICTIONARY"


From: Andre Müller
Subject: PSPP-BUG: [bug #41864] Exporting SPSS metadata with "DISPLAY DICTIONARY" from codepage DIN_66003 writes "Custom attributes:" to each variable
Date: Thu, 13 Mar 2014 18:14:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41864>

                 Summary: Exporting SPSS metadata with "DISPLAY DICTIONARY"
from codepage DIN_66003 writes "Custom attributes:" to each variable
                 Project: PSPP
            Submitted by: andrem
            Submitted on: Thu 13 Mar 2014 06:14:37 PM GMT
                Category: Output Driver
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

When exporting SPSS metadata from a DIN_66003 encoded file,
each variable's output gets two extra lines:
"Custom attributes:
        $§Role  0"

The export is done using
GET FILE="source.sav" ENCODING="DIN_66003"
DISPLAY DICTIONARY

The variables actually just have the input role,
and that's what both SPSS and PSPP tell me in the GUI.

Also, this does not show up when exporting this file
with another encoding option. 

(I can't seem to use the encoding in psppire, the 
codepage is not on offer in the file dialog.)

Apart from these "bonus" lines, the export is flawless,
the codepage is used; the textual output is fine.
This same behaviour is found for a series of studies.

An example file (download needs registration):
https://dbk.gesis.org/dbksearch/download.asp?db=D&id=40413

Some example output:

zeitnot2        Label: ZEITNOT BEI 16 FREIZEITAKTIVITäTEN               270
        Format: F8.2
        Measure: Scale
        Display Alignment: Right
        Display Width: 10
        Custom attributes:
        $§Role  0

Note: DIN_66003 is really odd and outdated, 
a 7bit-safe encoding for Germany. 
I found it used in a dozen datasets from 
different sources, though.
That's just to say that it may not be something
worth spending a lot of time on getting it right. 
For my work, I can just discard these lines.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41864>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]