Skip to contents

Progress statistics of the active project

Usage

qda_stats()

Value

A named list of tibbles:

  • overall: one row – number of sources, codes, codings, memos, events, total characters, coded characters (union of coding intervals) and pct_coded

  • per_code: one row per code – n_codings, coded chars

  • per_source: one row per source – chars, coded_chars, pct_coded

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_code(1, "SME", segment = 2)
qda_stats()
#> $overall
#> # A tibble: 1 × 8
#>   n_sources n_codes n_codings n_memos n_events chars_total chars_coded pct_coded
#>       <int>   <int>     <int>   <int>    <int>       <int>       <int>     <dbl>
#> 1         1       2         1       0        5         856          99      11.6
#> 
#> $per_code
#> # A tibble: 2 × 5
#>      id label       path              n_codings chars
#>   <int> <chr>       <chr>                 <int> <int>
#> 1     1 Career path Career path               0     0
#> 2     2 SME         Career path / SME         1    99
#> 
#> $per_source
#> # A tibble: 1 × 5
#>      id name             chars coded_chars pct_coded
#>   <int> <chr>            <int>       <int>     <dbl>
#> 1     1 interview_01.txt   856          99      11.6
#> 
qda_close()