ReadStat icon indicating copy to clipboard operation
ReadStat copied to clipboard

readstat strips value_labels from str columns

Open ivelinhristovipsos opened this issue 11 months ago • 0 comments

string+value labels issue.zip

I read the data for one column of str with value labels and write it back to sav. Reading the sav file seems to be correct, hoever the output does not contain the value labels for this string column, as it was defined in the input. so I assume that today readstat strips the value labels.

Can be recreated by reading the _in file and exporting the _out file.

(I was originally using pyreadstat I got directed to this repo via this issue)

ivelinhristovipsos avatar Jan 24 '25 16:01 ivelinhristovipsos