Create .SPS and .TXT files in addition to the .sav file
Issue #58
new
Hi,
Is there any way to output the data in this form? with the .sps file, it's easier to update the variables data (name, type and labels).
Thanks, Shlomi
Comments (3)
-
repo owner -
reporter Yes, it should include all the metadata
DATA LIST
,VARIABLE LABELS
,VALUE LABELS
andVARIABLE LEVEL
-
repo owner Btw, did you consider this:
with SavHeaderReader(savFileName) as header: meta_txt = str(header) with SavReader(savFileName) as reader: report_txt = str(reader)
- Log in to comment
Hi,
What do you propose the .SPS should look like? Everything needed to recreate the .Sav, including metadata? I.e,
DATA LIST
command,VARIABLE LABELS
, etc up untilSAVE OUTFILE
? It would be easy to make but laborious to do all the metadata.Regards, Albert-Jan