Lists every unit (segment or document) and code where exactly one of the
two coders coded – the material for the consensus discussion after an
intercoder check. Takes the same arguments as qda_intercoder().
Arguments
- other
Path to the second coder's
.jellyqdafile.- unit
"segment"(default) or"document".- level
"code"(every code and subcode on its own) or"top"(a code together with all its subcodes, i.e. code families).- source
Optional documents (ids or names of the active project) to compare; default all documents both projects contain.
- min_overlap
Minimum number of characters a coding must overlap a unit to count.
- coders
Two names for the coders; default the two file names.
- code
Optional code path (or label of a top-level code) to show only its disagreements.
Value
A tibble: source_id, source, segment, start, end (the
unit in the active project), code (path), coded_by ("A" or
"B"), coder (name), text (text of the unit), b_codings (number
of B's codings that can be taken over with qda_intercoder_adopt()).
Examples
dir <- tempfile()
qda_open(file.path(dir, "coder_a.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("Team")
b <- qda_intercoder_copy(file.path(dir, "coder_b.jellyqda"))
qda_code(1, "Team", segment = 3)
qda_close()
qda_open(b); qda_code(1, "Team", segment = 4); qda_close()
qda_open(file.path(dir, "coder_a.jellyqda"))
qda_intercoder_diff(b)[, c("segment", "code", "coded_by")]
#> # A tibble: 2 × 3
#> segment code coded_by
#> <int> <chr> <chr>
#> 1 3 Team A
#> 2 4 Team B
qda_close()