All codings, code memos and summaries of from move to into; subcodes
of from become subcodes of into (a subcode with the same label as an
existing subcode of into is merged into it as well). The guideline texts
are kept (appended where both codes have one). Finally from is deleted.
Typical step of inductive category building: two categories turn out to
mean the same. Undo restores everything in one step.
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("Interest")
qda_code_add("Intrinsic")
qda_code(1, "Interest", segment = 2)
qda_code_merge("Interest", into = "Intrinsic")
qda_codings()$code
#> [1] "Intrinsic"
qda_undo() # both codes are back
qda_close()