Skip to content
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

Feature Idea/Request: Reading and Writing Custom Attributes from SAV files #248

Open
Ov-ille opened this issue Dec 8, 2023 · 3 comments
Labels
enhancement New feature or request requires changes in Readstat waiting for changes in the C library Readstat

Comments

@Ov-ille
Copy link

Ov-ille commented Dec 8, 2023

In SPSS it is possible to create so called "Custom Attributes" for each variable, for example additional comments, calculation logic, etc.

Currently (as far as I could see) these are not imported or exported in pyreadstat.

Is there a way to also access them and have them available in the metadata container?

This is an example SAV File with 4 additionally created custom attributes:

SPSSCustomVarAttributes.zip

image

@ofajardo
Copy link
Collaborator

ofajardo commented Dec 8, 2023

Unfortunately it is not possible right now, as Readstat, the underlying C library does not provide it. It has to be requested and impkemented there first.

@ofajardo ofajardo added the enhancement New feature or request label Dec 8, 2023
@xChillout
Copy link

there seems to be a readstat request for this since 2016 :)

@ofajardo
Copy link
Collaborator

ofajardo commented Dec 8, 2023

We may need to wait a bit longer then ... =)

@ofajardo ofajardo added the requires changes in Readstat waiting for changes in the C library Readstat label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request requires changes in Readstat waiting for changes in the C library Readstat
Projects
None yet
Development

No branches or pull requests

3 participants