thehyve/sas-convert

Name: sas-convert

Owner: The Hyve

Description: Simple SAS7BDAT to CSV conversion tool based on the Parso library.

Created: 2015-10-07 11:03:23.0

Updated: 2017-03-27 08:26:11.0

Pushed: 2017-04-18 11:01:48.0

Homepage: null

Size: 11

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

sas-convert

Simple SAS7BDAT to CSV conversion tool based on the Parso library and opencsv.

Download

The latest version can be downloaded here: sas-convert-0.3.zip.

wnload sas-convert
 -L https://github.com/thehyve/sas-convert/releases/download/0.3/sas-convert-0.3.zip -o sas-convert-0.3.zip
p sas-convert-0.3.zip
Usage

Usage:

s-convert/sas-convert <file.sas7bdat> [file.csv]

By default, the first three lines of output will describe the columns: labels, names, and formats, respecitively. To only output one line of header information containing just column names, use the --only-column-names or -o option:

s-convert/sas-convert -o <file.sas7bdat> [file.csv]

By default, if you don't pass the second argument, the output is sent to stdout. If instead you'd like to save it to an automatically named file based on the name of the input file, the --auto-create-csv or -a option will save this output to my-filename.csv:

s-convert/sas-convert -a my-filename.sas7bdat
Build and run from source
package
s-convert <file.sas7bdat> [file.csv]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.