Get Codebook
get_codebook(study, data_id = 1, as_json = FALSE)
A study list object with class scivrs_study
The id for the dataset (index or character)
Return output in JSON format
a list with class codebook
s <- study() %>% add_data("test", data.frame(x = 1:10))
#> x set to dataType int
cb <- get_codebook(s, "test")