Comments (3)
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.
Hi, Dan
It seems that there is an issue with the "test.xpt" file that was created using the {write_xpt} function.
As "$Date." is not a recognizable format for character variable in SAS/XPT, it should be "Date.". Maybe this affect the creation?
from haven.
Agree, it seems the current conversion tool doesn't works very well.
from haven.
Related Issues (20)
- Use strings for versions
- Release haven 2.5.3
- bug while reading sas7bdat file HOT 4
- Vulnerability in SAS7BCAT reader HOT 2
- Progress Bar for XPT HOT 1
- Returning full variable labels HOT 1
- New feature proposal: Reads creation/modified time of SAS7BDAT HOT 3
- Unable to allocate memory when opening a dta file HOT 1
- Upkeep for haven (2023)
- Use standard argument checkers
- `write_dta()` can error if labelled values are large enough
- Zero-length label worse than null label
- Remind the novice user of labelled-format? HOT 2
- Dates in labelled_spss HOT 3
- Release haven 2.5.4
- Allow `labels` to be passed through to `labelled()` as unnamed vector of same length as `x`
- Dataset label truncated after `write_xpt` HOT 5
- typo in docs for as_factor
- read_sav default is to NOT encode user defined data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haven.