knitr::opts_chunk$set(warning = T, message = T, error = F)

Load

library(codebook) 
bioage17 <- haven::read_dta("~/research/data/SOEP/SOEP-CORE_v32.1_stata_bilingual/bioage17.dta")
bioage17 <- detect_missing(bioage17, learn_from_labels = TRUE,
                          ninety_nine_problems = FALSE, negative_values_are_missing = FALSE)
codebook(bioage17 %>% select(1:40))


rubenarslan/codebook documentation built on Nov. 13, 2022, 12:40 p.m.