Create a codebook https://stackoverflow.com/questions/39671621/extract-the-labels-attribute-from-labeled-tibble-columns-from-a-haven-import-f

make_codebook(tbl)

Arguments

tbl

labeled dataframe

Examples

if (FALSE) { elsalvador2018 <- read_dta("http://datasets.americasbarometer.org/database/files/ElSalvador%20LAPOP%20AmericasBarometer%202018%20v1.0_W.dta") elsalvador2018_codebook <- make_codebook(elsalvador2018) }