Skip to contents

List the codebook

Usage

qda_codes()

Value

A tibble with one row per code: id, label, parent_id, color, description (definition), anchor (anchor examples), coding_rule, path (hierarchical parent / child label path) and n_codings (how many codings use this code).

Examples

qda_open(file.path(tempfile(), "example.jellyqda"))
qda_import(system.file("extdata", "interview_01.txt", package = "jellyqda"))
#> # A tibble: 1 × 5
#>      id name             format chars status
#>   <int> <chr>            <chr>  <int> <chr> 
#> 1     1 interview_01.txt txt      856 ok    
qda_code_add("Career path")
qda_code_add("SME", parent = "Career path")
qda_codes()
#> # A tibble: 2 × 9
#>      id label     parent_id color description anchor coding_rule path  n_codings
#>   <int> <chr>         <int> <chr> <chr>       <chr>  <chr>       <chr>     <int>
#> 1     1 Career p…        NA #E69… ""          ""     ""          Care…         0
#> 2     2 SME               1 #E69… ""          ""     ""          Care…         0
qda_close()