GithubHelp home page GithubHelp logo

Comments (3)

DanChaltiel avatar DanChaltiel commented on June 12, 2024 1

Hi Kevin,
Yes, the "test.xpt" file has the same problem as the output of a 3rd party software which generates flawed XPT files in some settings.
Here, my object x is misconstructed as it holds a character vector of class Date while Dates should always be numeric.

The present issue is about error management in read_xpt() so that one can overcome such flawed XPT files.
Most R users cannot correct XPT files so if haven do not let us read them we are unfortunately helpless.
I'm not sure write_xpt() should be corrected for that matter, as this flawed R object x should never occur naturally.

from haven.

botsp avatar botsp commented on June 12, 2024

Hi, Dan
It seems that there is an issue with the "test.xpt" file that was created using the {write_xpt} function.
image

As "$Date." is not a recognizable format for character variable in SAS/XPT, it should be "Date.". Maybe this affect the creation?

image

image

from haven.

botsp avatar botsp commented on June 12, 2024

Agree, it seems the current conversion tool doesn't works very well.

from haven.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.