Re: Can eXist read and display data from an xpt file?

Joe Wicentowski <[email protected]>
Newsgroups gmane.text.xml.exist
Message-ID <CAHwerk2Rjx8syQGqsMOzr390CKiArkC5LUeVC9DKS0Sav_KN6w@mail.gmail.com>
Hi Ted,

Looks like you can convert XPT to CSV from the command line:

pip install xport
python -m xport file.xpt > file.csv

See https://www.youtube.com/watch?v=s_iG54ibeh8 and
https://github.com/selik/xport.

Joe

On Mon, Oct 24, 2022 at 9:43 AM Ted Hickox <[email protected]> wrote:

> Unlike a CSV file, XPT files can't be opened by Excel or Libre Office.  I
> used the R program with very specific instructions and finally got that
> program to convert the XPT file to a CSV file.  Then I was able to open the
> CSV file in Libre Office.  Someone should develop a way to read XPT files
> in eXist so they don't have to use the R program.
>
> On Sun, Oct 23, 2022 at 7:12 PM Kevin Brown <[email protected]>
> wrote:
>
>> XPT is I believe simple CSV type text file.
>>
>>
>>
>> *From:* Joe Wicentowski <[email protected]>
>> *Sent:* Sunday, October 23, 2022 8:57 AM
>> *To:* Ted Hickox <[email protected]>
>> *Cc:* eXist open Mailinglist <[email protected]>
>> *Subject:* Re: [Exist-open] Can eXist read and display data from an xpt
>> file?
>>
>>
>>
>> Hi Ted,
>>
>>
>>
>> I'm not familiar with xpt files. Are they text files, XML documents, or
>> binary files? If you're not sure, could you provide a link to an example
>> xpt file?
>>
>>
>>
>> Joe
>>
>>
>>
>> On Sat, Oct 22, 2022 at 4:31 PM Ted Hickox <[email protected]> wrote:
>>
>> I tried installing a computer program called R on my computer and it
>> can't seem to read any xpt files.  I was wondering if eXist can read such
>> files.
>>
>> _______________________________________________
>> Exist-open mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>
>> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.