I am downloading Qualtrics exports which are read into R as .rds files. Once it’s been read in, the data will appear as shown in the attached image. I’m hoping to extract a vector of the labels (i.e. the words in the smaller text underneath the bolded names) and the make those my variable names. How could I clean the .rds files to achieve this? Thanks in advance for any suggestions.
I think what you’re working with here is labelled data. Take a look at this blog post and let me know if it answers your question. There are several packages for extracting variable labels that are referenced in the blog post. Hope that helps!