math/readstat: new port - ead (and write) data sets from SAS, Stata, and SPSS

Originally developed for Wizard, ReadStat is a command-line tool and
MIT-licensed C library for reading files from popular stats packages. Supported
data formats include:

 * SAS: SAS7BDAT (binary file) and XPORT (transport file)
 * Stata: DTA (binary file) versions 104-119
 * SPSS: POR (portable file), SAV (binary file), and ZSAV (compressed binary)

Supported metadata formats include:

 * SAS: SAS7BCAT (catalog file) and .sas (command file)
 * Stata: .dct (dictionary file)
 * SPSS: .sps (command file)

There is also write support for all the data formats, but not the metadata
formats. The produced SAS7BDAT files still cannot be read by SAS, but feel free
to contribute your binary-format expertise here.

WWW: https://github.com/WizardMac/ReadStat
This commit is contained in:
Tobias C. Berner
2022-08-26 15:48:29 +02:00
parent b3b08643ee
commit 58df67cee5
5 changed files with 45 additions and 0 deletions
+1
View File
@@ -1011,6 +1011,7 @@
SUBDIR += randlib
SUBDIR += rankwidth
SUBDIR += rapid
SUBDIR += readstat
SUBDIR += reduce
SUBDIR += reduce-psl
SUBDIR += reed-solomon
+14
View File
@@ -0,0 +1,14 @@
PORTNAME= readstat
DISTVERSION= 1.1.8
CATEGORIES= math kde
MASTER_SITES= https://github.com/WizardMac/ReadStat/releases/download/v${DISTVERSION}/
MAINTAINER= kde@FreeBSD.org
COMMENT= Read (and write) data sets from SAS, Stata, and SPSS
LICENSE= MIT
USES= libtool
HAS_CONFIGURE= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1661500384
SHA256 (readstat-1.1.8.tar.gz) = b18a0d68059d9665491e53838b3ca89b06c3bdaa3b0a11d4ba87d830b743e178
SIZE (readstat-1.1.8.tar.gz) = 615498
+19
View File
@@ -0,0 +1,19 @@
Originally developed for Wizard, ReadStat is a command-line tool and
MIT-licensed C library for reading files from popular stats packages. Supported
data formats include:
* SAS: SAS7BDAT (binary file) and XPORT (transport file)
* Stata: DTA (binary file) versions 104-119
* SPSS: POR (portable file), SAV (binary file), and ZSAV (compressed binary)
Supported metadata formats include:
* SAS: SAS7BCAT (catalog file) and .sas (command file)
* Stata: .dct (dictionary file)
* SPSS: .sps (command file)
There is also write support for all the data formats, but not the metadata
formats. The produced SAS7BDAT files still cannot be read by SAS, but feel free
to contribute your binary-format expertise here.
WWW: https://github.com/WizardMac/ReadStat
+8
View File
@@ -0,0 +1,8 @@
bin/extract_metadata
bin/readstat
include/readstat.h
lib/libreadstat.so
lib/libreadstat.so.1
lib/libreadstat.so.1.1.8
share/man/man1/extract_metadata.1.gz
share/man/man1/readstat.1.gz