how to make read_sav import only variable names, not variable labels, as column names? (from spss .sav files)

Hello,
the problem is simple yet I cannot find an answer to this.
When importing an spss's .sav file into R with read_sav() from haven package it automatically names the columns with both variable names and labels (where labels exist) - I'd rather have only variable names.
Is there a way to select only variable names as colnames?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.