Skip to content

Readstat not reading XPT v8 column names correctly #208

@ofajardo

Description

@ofajardo

When trying to read the attached XPT file v8 readstat is not reading the column names correctly.

This is what readstat is reading (only first row included for brevity)

./readstat dates_8.xpt -
"dt","dt","timezone","dates","string_dates","times","string_times","seconds","seconds"
-86401.000000,"1959-12-30 23:59:59","UTC",-2.000000,"1959-12-30",86399.000000,"23:59:59",-86401.000000,1.000000

and it should be:

'dt', 'string_dt', 'timezone', 'dates', 'string_dates', 'times', 'string_times', 'seconds', 'missings'

@reikoch is aware of the issue, according to him this comes from the fact the XPT has labels.
The XPT files was originated from a sas7bdat files also attached.

dates.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions