labels_df | R Documentation |
Create a data frame of the variable labels
labels_df(df)
df |
A data frame imported from SPSS using 'haven::read_sav()' |
A data frame with 2 columns, listing the names of the variables and the corresponding labels from the metadata.
gss_data <- haven::read_sav(system.file("extdata", "GSS2016.sav", package = "havenmisc"))
labels_df(gss_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.