ReadStat icon indicating copy to clipboard operation
ReadStat copied to clipboard

Command-line tool (+ C library) for converting SAS, Stata, and SPSS files 💾

Results 73 ReadStat issues
Sort by recently updated
recently updated
newest added

### Issue: When creating a XPORT file using 'write_export' with option 'file_format_version=8', the resulting file is not correctly read in by SAS v9.0401M8. All filename and variable name information is...

I'm attempting to convert a `csv` file to STATA `dta` format using the JSON metadata format. I've put together an example with just a few columns: ``` permno,date,eom 10107,2020-01-31,2020-01-31 10107,2020-02-28,2020-02-29...

Is there a way to add functionality to read specific rows from a large `sas7bdat` file? The issue I'm facing is that I have large SAS files (around 10GB) along...

SAS

Two new functions: ```C const char *readstat_variable_get_informat(const readstat_variable_t *variable); void readstat_variable_set_informat(readstat_variable_t *variable, const char *informat); ``` These only work with XPORT v8.

Based on issue and discussion in pyreadstat (and related R haven discussion). Improvement request: SAS INFORMATS are available to write to SAS file formats, since it looks like they are...

enhancement
SAS

When writing sav files with a large amount of columns (>100K columns, I personally tested with 150K) the names of the columns/variables get corrupted as reported in the [original report](https://github.com/Roche/pyreadstat/issues/265)....

bug
SPSS

In the attached file, when reading with readstat and using readstat_variable_get_display_width, I get the information from Columns (Columnas in the screenshot) as variable display width instead of the Width (Anchura...

bug
SPSS

In the attached file, all variables get 'Unknown' for alignment, when it should be Right (Derecha in the screenshot) in this case and in general { Left, Right or Center}....

SPSS

Trying to read the attached file rises the error "Invalid file, or file has unsupported features". The file is read correctly with SAS. [ae.zip](https://github.com/user-attachments/files/20440895/ae.zip)

bug
SAS

Consider the given sav files [sav-read-issue.zip](https://github.com/user-attachments/files/17459024/sav-read-issue.zip) created by IBM Proprietery SPSS Modeler on IBM Cloud. The original data and corresponding metadata written in the file as read by SPSS Statistics...

SPSS