-
Notifications
You must be signed in to change notification settings - Fork 118
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
Dataset label truncated after write_xpt
#746
Comments
Dear developer, I found that the label length that must be <= 40 is just used for the xpt 5, if the |
Hi both, May I confirm a question about data conversion.
I saw some discussion about this issue and doesn't found a good solution.
Looking forward to leanring the insights from your valuable experience. Many thanks! |
Hi @botsp It seems that
For |
Thanks for your explanation and this inspire me about the method of sas data conversion. Thank you! |
Thanks for the feedback! This is an issue with our dataset label validation code, and the documentation could be clearer - the dataset label for XPT files is a maximum of 40 bytes rather than characters. Our validation code is currently checking with the default @ynsec37 note that the XPT documentation shared above is referring to the variable label length. Although variable labels can be longer in version 8 the maximum dataset label length is still 40 bytes. |
From
write_xpt
documentation:The following dataset label in Chinese has 40 characters and was truncated after
write_xpt
.(thanks @siye6 for the original example in atorus-research/xportr#194)
Created on 2023-12-13 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: