Skip to contents

The first step of an intercoder check: the copy contains the same documents (frozen texts), segments, document variables and code system including the coding guideline – but no codings, no Mayring summaries, no summary grid and no audit trail, so the second person codes "blind". Code memos (definitions, coding rules) are kept by default; other memos only if requested in keep_memos. The active project is not changed.

Usage

qda_intercoder_copy(path, keep_memos = "code", overwrite = FALSE)

Arguments

path

File for the copy (the .jellyqda extension is added if missing). Must not exist yet unless overwrite = TRUE.

keep_memos

Kinds of memos to keep in the copy: any of "code", "project", "document", "passage". Default only code memos.

overwrite

Logical; replace an existing file.

Value

Invisibly, the path of the copy.

See also

qda_intercoder() to compare both projects afterwards.

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("Career path")
qda_code(1, "Career path", segment = 2)
copy <- qda_intercoder_copy(file.path(dir, "coder_b.jellyqda"))
qda_close()
qda_open(copy)
nrow(qda_codings())   # 0: coder B starts blind
#> [1] 0
qda_codes()$label     # same code system
#> [1] "Career path"
qda_close()