-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add support for CPORT (compressed XPORT format) #6
Comments
Hi, Great Contribution. I need to know some information about CPORT, Currently my client requirement is to read .cpt format files in python. But I'm unable to find the layout format for CPORT like https://support.sas.com/techsup/technote/ts140.pdf(XPORT format). Did you found any information about CPORT format ?. Or any help needed on this ?
|
@dhanababum I believe it stands for "Compressed export" or something like that. Unfortunately, we'd have to reverse-engineer it.
https://www.loc.gov/preservation/digital/formats/fdd/fdd000464.shtml#notes |
Hi, |
@smiiil Sorry, I haven't gotten around to it, and I don't expect to for a while. I'm happy to coach you through it, though. |
Sure, willing to help. |
My design idea was that the Unfortunately, there seem to be some bugs in the latest version, so maybe it's best to start by fixing those, which'd get you familiar with the logic. The decision to extend Pandas made the code much more complex. Hopefully it made the API more pleasant, but I've started to worry that it was a mistake. |
Thanks for all of your work @selik! Following this thread since I also am running into the issue with CPORT files. |
@cmdugan13 Is the CPORT file you're trying to read publicly available? |
It is-- I can't link the file, but it's C2419P1M.XPORT in the attached folder |
I'll take a look next weekend / late January. |
This is going to be tricky. SAS Universal Viewer doesn't support CPORT files. Apparently the universe is smaller than we thought. https://support.sas.com/kb/42/356.html |
I found some sample datasets that CMS published in 2014 that are available both as TRN and as TXT files if it helps: |
@lscott15 Thanks for the tip. I'll check it out. |
Was there any progress made on this? I am also willing to help. |
It seems some archaic FDA submission rules require(d) SAS XPT or CPT-format files. The Aggregate Analysis of ClinicalTrials.gov Database hosts the same data in Oracle "dmp", pipe-delimited text, and SAS CPORT formats. Perhaps we can use these files as a sort of Rosetta stone to infer the specification of the SAS CPT/CPORT format.
The text was updated successfully, but these errors were encountered: