strengejacke / sjlabelled

Working with Labelled Data in R

Home Page:https://strengejacke.github.io/sjlabelled

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custom attributes for values and variables

iembry opened this issue · comments

Hi. Will you please consider using custom variable and value attribute names for collecting the variable and value labels?

I have been able to use the "get_labels" function to obtain the value labels contained in the label attribute from the readspss "read.sav" function, but I am not able to get the "get_label" function to obtain the variable labels contained in the var.label attribute from the same function.

Thank you in advance.

This was possible a longer time ago, supporting the foreign package. However, to simplify maintenance, I decided to support/consider only the attributes "label" and "labels".