Get Codebook

get_codebook(study, data_id = 1, as_json = FALSE)

Arguments

study

A study list object with class scivrs_study

data_id

The id for the dataset (index or character)

as_json

Return output in JSON format

Value

a list with class codebook

Examples

s <- study() %>% add_data("test", data.frame(x = 1:10))
#> x set to dataType int
cb <- get_codebook(s, "test")