haven icon indicating copy to clipboard operation
haven copied to clipboard

read_sas to pull table (not column) attributes

Open dmcalli2 opened this issue 1 year ago • 4 comments

I understand that read_sas pulls column labels and this is very helpful. Would there be any interest in adding functionality to also pull table attributes (eg table descriptions)? I appreciate that this would probably not sit well within read_sas as such metadata does not really fit in a tibble.

dmcalli2 avatar Jul 03 '24 16:07 dmcalli2

Maybe it would be possible to include the same approach as in the pyreadstat module?

import pyreadstat

df, meta = pyreadstat.read_sas7bdat('/path/to/a/file.sas7bdat', metadataonly=True)

BERENZ avatar Nov 28 '24 09:11 BERENZ