-
Notifications
You must be signed in to change notification settings - Fork 117
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
Some value labels not being loaded from catalog file #716
Comments
Hey @joshuaborn, Thanks, and great to hear! 🙂 Do you mean the error code assignments using We've seen at least one previous issue with labels selectively being missed (see #529, which was fixed in the recent release). If you have a similar problem can you please chuck in an issue with an example catalog file, and a matching data file if possible? |
Oh, I see, I did mean the Attached is a zip archive with two data sets, both with sas7bcat data and sas7bcat catalog file pairs. value-labels-from-catalog-files.zip Both data sets should have value labels for variables |
Perfect, thanks! |
This also happened to me, it is definitely a bug. In case it helps, I attach a .zip file myself, with both the .sas7bdat file and the associated .sas7bcat catalog: Thanks in advance for fixing this. |
Congratulations on the latest release! I tried out haven 2.5.2 on several SAS data sets with catalog files and no longer have been getting any parse errors.
I have noticed that after
read_sas
calls, some tibbles get theirlabelled()
style labels and some don't, and even within the same tibbles, sometimes some columns will be labelled and some won't.I looked a little through the haven source code and while I'm not familiar with C++ and it's been a while since I've done anything with C, it does look like there are error messages sprinkled throughout the code that loads and applies the SAS formats. Would it be possible to expose this error messaging in a verbose-mode or debug-mode, perhaps in a log file, so haven users can see what's causing the labeling not to be applied?
The text was updated successfully, but these errors were encountered: