Skip to content

long string variable split when reading in SPSS #236

@ofajardo

Description

@ofajardo

hi

When writing a sav SPSS file with Readstat containing long string variables (long_readstat.sav), Readstat reads them correctly, however SPSS splits it (LongString2, "V2_A1", "V2_A2", "V2_A3"), this does not happen if the name of the variable is shorter (LongStr instead of LongString2).
For comparison the same content but written with SPSS (long_spss.sav) it opens correctly both in SPSS and Readstat.

original reports: Roche/pyreadstat#119
Roche/pyreadstat#118

longstring.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions