I have an object of the class "tbl_df", from an imported spss-File (package haven).
I work with an R-Markdown file. When I access a certain variable of my dataframe data$question10
, in the console it shows the vector of values (all 1 and 0), but the last line says "Labels:" not actually listing any labels. But in the R-Markdown output I get a summary of the number of zeros and ones.
There it also shows the labels. How can I access these labels in a variable?