Set the coding guideline of a code (definition, anchor example, rule)
Source:R/analysis.R
qda_code_guide.RdThe three columns of a coding guideline ("Kodierleitfaden") as used in
qualitative content analysis (Mayring, Kuckartz): a definition of the
category, one or more anchor examples (typical passages) and a
coding rule (how to decide borderline cases). Arguments left NULL
are not changed. The definition is stored in the column description.
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_guide("SME",
definition = "Statements about working in a small or medium-sized enterprise",
rule = "Only explicit statements; comparisons with corporations -> other code")
qda_code_guide("SME", anchor = "'I have worked in a small company for 5 years'",
append_anchor = TRUE)
qda_codes()[, c("label", "description", "anchor", "coding_rule")]
#> # A tibble: 2 × 4
#> label description anchor coding_rule
#> <chr> <chr> <chr> <chr>
#> 1 Career path "" "" ""
#> 2 SME "Statements about working in a small or medium… "'I h… "Only expl…
qda_close()