ReadStat
ReadStat copied to clipboard
Command-line tool (+ C library) for converting SAS, Stata, and SPSS files 💾
I am having this same issue as [this error](https://github.com/Roche/pyreadstat/issues/267#issue-2473039595) reported on pyreadstats forum. The dev has said this needs to be elevated to you all. Here are some further details:...
[string+value labels issue.zip](https://github.com/user-attachments/files/18538600/string%2Bvalue.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...
Would it be possible to include the version of ReadStat in the header readstat.h so any program using the library can access the version of ReadStat? That would help for...
I believe this is related to https://github.com/WizardMac/ReadStat/issues/233. As a result of that one, the width *w* of SAS date/time formats are now preserved, although the digits that SAS refers to...
Passing along an issue presented in the R haven package, which appears to be an upstream issue with ReadStat that haven uses: https://github.com/tidyverse/haven/issues/768. To summarize, in the attached example ([test.zip](https://github.com/user-attachments/files/19539733/test.zip)),...
Extended SPSS related code to support the export of metadata around missing values for other data types (only double was implemented). Note that this fix was generated with the assistance...
Fixes #346 ## Description This PR adds support for type 'E' multiple response sets in SPSS SAV files. These are dichotomies with CATEGORYLABELS=COUNTEDVALUES and appear in subtype 19 records in...
## Issue ReadStat currently doesn't properly handle type 'E' multiple response sets in SPSS SAV files. These are dichotomies with CATEGORYLABELS=COUNTEDVALUES and appear in subtype 19 records in addition to...
```Python 3.9.20 (main, Mar 13 2025, 07:28:52) [GCC 8.5.0 20210514 (Red Hat 8.5.0-24)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyreadstat as prs >>>...