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

I'm having an error in the metadata extraction (see attached file) with a valid SPSS file. I tested it on WizardMac, which opens it successfully. ## extract_metadata output I tested...

CLI

SPSS, Stata and SAS all have different ways of dealing with missing values. The ReadStat library is awesome, but still leaves this uncovered. For instance, an SPSS variable can have...

enhancement
CLI

First off, thanks for an awesome library! It is much appreciated, and this library (and the related bindings) are incredibly useful. Thanks for all the hard work! I do, however,...

enhancement
SPSS

Hi @evanmiller, I would like to improve the CSV conversion. Currently dates are exported as integers, and I am even wondering whether I introduced a regression on my last PR....

CLI

Title says it all. I could not figure out how to get it to recognize libxlsxwriter during configure / make. Any hints highly appreciated. Also maybe add ./configure CFLAGS="-static" make...

question

I've attached a valid STATA file to this PR that crashes on both `extract_metadata` and WizardMac. Unfortunately, I cannot really give you more information, as the error is rather opaque....

This allows language wrapping libraries such as pyreadstat to use a memory buffer instead of a file on disk as source.

Hi, I have an SAS file in CJK characters, and in SAS Universal Viewer the number of rows is 42554. However readstat would give me 132252 rows (tested using both...

Is there a good reason not to change these functions from ``` readstat_error_t readstat_begin_writing_dta(readstat_writer_t *writer, void *user_ctx, long row_count); readstat_error_t readstat_begin_writing_por(readstat_writer_t *writer, void *user_ctx, long row_count); readstat_error_t readstat_begin_writing_sas7bcat(readstat_writer_t *writer, void...

API

When converting a .por file into a .csv file, readstat returned the following error: ``` readstat -f ~/Downloads/100.POR ~/Downloads/100.csv Converted 0 variables and 0 rows in 0.00 seconds Error processing...