-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New code for reading compressed SAS data #5
Comments
Thanks for the link Harry. I couldn't find the source code on their web Best, On Mon, Apr 14, 2014 at 7:05 AM, Harry Southworth
|
They started with something called SassyReader which is a Java library reverse engineered from your code. That library had trouble dealing with format catalogues (or at least broken ones) and compressed SAS files so GGA put some extra effort in and got it working much more generally. I got parso running via a Java wrapper with some help from a friend. I've transformed a few dozen SAS datasets now, including compressed ones, and including at least one that had newlines in character fields that caused the SAS csv writer to create garbage, and parso has done the trick every time. If you want to figure out how to add it as an alternative engine to your sas7bdat package, let me know and I'll help out as much as I'm able. Harry |
Harry, Thanks for you offer to help. I am familiar with Parso. However, I'm not Ultimately, I'd like to incorporate the extra work those authors had done If you are willing and able to help, I think the biggest contribution that Thanks for you interest! Best, On Sun, Sep 7, 2014 at 7:13 AM, Harry Southworth notifications@github.com
|
OK. I went ahead and wrote an R package that wraps the Parso library. It's https://github.com/biostatmatt/sas7bdat.parso On Sun, Sep 7, 2014 at 8:43 AM, Matthew Shotwell biostatmatt@gmail.com
|
It /is/ slow, but it works where read.sas7bdat fails due to data compression! I had to give that .parso repo its first star for that! |
I just added a function s7b2csv that should be a bit faster in converting On Tue, Sep 9, 2014 at 12:22 PM, Jason Miller notifications@github.com
|
Great, duly noted |
FWIW, I could not find the source code on their website, but it is apparently accessible from: http://search.maven.org/remotecontent?filepath=com/ggasoftware/parso/1.2.1/parso-1.2.1-sources.jar |
Just found this: http://ggasoftware.com/opensource/parso
I haven't tried it yet, but knew they'd been working on it for some time.
The text was updated successfully, but these errors were encountered: