Delete a code (and its sub-codes and their codings)
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_code_delete("Career path") # with its subcodes and codings
nrow(qda_codes())
#> [1] 0
qda_undo() # everything is back
nrow(qda_codes())
#> [1] 2
qda_close()