A case is the unit you want to compare – a person, a group, an
organisation. It can consist of several whole documents (a person
interviewed twice) or of passages (the speaker turns of one participant
in a group interview, see qda_cases_from_speakers()). Codings count for
a case when they lie in one of its documents or passages.
Value
Invisibly, the new case as one-row tibble (see qda_cases()).
Examples
qda_open(file.path(tempfile(), "example.jellyqda"))
qda_import(system.file("extdata", c("interview_01.txt", "interview_02.md"), package = "jellyqda"))
#> # A tibble: 2 × 5
#> id name format chars status
#> <int> <chr> <chr> <int> <chr>
#> 1 1 interview_01.txt txt 856 ok
#> 2 2 interview_02.md md 531 ok
qda_case_add("Team North", sources = 1, description = "Project team, site North")
qda_cases()
#> # A tibble: 1 × 6
#> id name description documents passages sources
#> <int> <chr> <chr> <int> <int> <chr>
#> 1 1 Team North Project team, site North 1 0 interview_01.txt
qda_close()