Skip to contents

jellyqda is a small tool for qualitative data analysis of interview transcripts and field notes – deductive and inductive, e.g. qualitative content analysis after Mayring or Kuckartz. It runs entirely offline on your own computer: no account, no cloud, no upload. All project data lives in one SQLite file per project (.jellyqda).

You can work in two ways that share the same project file:

  • the app (qda_app()), a local web interface in the browser or the RStudio Viewer, available in English and German, and
  • the R functions shown below, which make every step scriptable and reproducible.

A project in a few lines

library(jellyqda)
qda_language("en")                                 # report language (also: "de")

project <- file.path(tempfile(), "example.jellyqda")
qda_open(project)                                  # creates the project file

files <- system.file("extdata", c("interview_01.txt", "interview_02.md"),
                     package = "jellyqda")
qda_import(files, segments = "speaker")            # text is frozen on import
#> # 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

Imported text is frozen into the database and never extracted again, so the character offsets of codings can never drift.

Codes and subcodes

Codes form a tree. A subcode takes the colour of its code family; the app draws subcodes as outlined boxes hanging on a coloured line (“thread”).

qda_code_add("Career path", color = "#E69F00")
qda_code_add("SME", parent = "Career path")
qda_code_add("Motivation", color = "#56B4E9")
qda_code_guide("SME",
  definition = "Statements about working in a small or medium-sized enterprise",
  rule = "Only explicit statements")
qda_codes()[, c("label", "path", "color")]
#> # A tibble: 3 × 3
#>   label       path              color  
#>   <chr>       <chr>             <chr>  
#> 1 Career path Career path       #E69F00
#> 2 SME         Career path / SME #E69F00
#> 3 Motivation  Motivation        #56B4E9

Coding

A passage is addressed by its segment number (see qda_view()) or by character offsets.

qda_code(source = 1, segment = 2, code = "SME", memo = "first job")
qda_code(source = 1, start = 10, end = 60, code = "Motivation")
qda_autocode("project", code = "Career path", scope = "segment")
qda_codings()[, c("id", "source", "code", "start", "end")]
#> # A tibble: 4 × 5
#>      id source           code        start   end
#>   <int> <chr>            <chr>       <int> <int>
#> 1     2 interview_01.txt Motivation     10    60
#> 2     1 interview_01.txt SME           104   202
#> 3     3 interview_01.txt Career path   205   325
#> 4     4 interview_01.txt Career path   650   856

Every change is recorded in an audit trail and can be undone:

qda_coding_recode(1, "Career path")
qda_undo()
qda_codings()$code[1]
#> [1] "Motivation"

Memos and Mayring’s summarising content analysis

qda_memo_add("Ask about question 3 again", title = "Research diary")
qda_coding_set_summary(1, paraphrase = "Started in a small company",
                       generalization = "Career start in an SME")
qda_codings()[1, c("code", "paraphrase", "generalization")]
#> # A tibble: 1 × 3
#>   code       paraphrase generalization
#>   <chr>      <chr>      <chr>         
#> 1 Motivation ""         ""

Analysis

qda_stats()$overall[, c("n_sources", "n_codes", "n_codings", "pct_coded")]
#> # A tibble: 1 × 4
#>   n_sources n_codes n_codings pct_coded
#>       <int>   <int>     <int>     <dbl>
#> 1         2       3         4      34.5
qda_matrix()
#> # A tibble: 3 × 3
#>   code        interview_01.txt interview_02.md
#>   <chr>                  <int>           <int>
#> 1 Career path                2               0
#> 2 SME                        1               0
#> 3 Motivation                 1               0
qda_words(n = 5)
#> # A tibble: 5 × 3
#>   word            n sources
#>   <chr>       <int>   <int>
#> 1 interviewer     5       2
#> 2 respondent      5       2
#> 3 demo            3       2
#> 4 file            3       2
#> 5 years           3       1
qda_kwic("colleague", width = 25)[, c("source", "left", "match", "right")]
#> # A tibble: 2 × 4
#>   source           left                        match     right                  
#>   <chr>            <chr>                       <chr>     <chr>                  
#> 1 interview_01.txt "lly make a difference. A " colleague " from university told…
#> 2 interview_02.md  "ot problems early, and a " colleague " usually brings coffe…
qda_source_set_var(1, "role", "project lead")
qda_case_matrix("role")
#> # A tibble: 3 × 5
#>   code        path              depth `project lead` `(ohne)`
#>   <chr>       <chr>             <int>          <int>    <int>
#> 1 Career path Career path           1              3        0
#> 2 SME         Career path / SME     2              1        0
#> 3 Motivation  Motivation            1              1        0

Intercoder agreement

A second person codes a blind copy of the project (same documents, segments and code system, no codings); jellyqda then compares both files per code: percent agreement, Cohen’s kappa, Brennan & Prediger’s kappa and Krippendorff’s alpha. The other file is only read.

coder_b <- qda_intercoder_copy(file.path(dirname(project), "coder_b.jellyqda"))
qda_close()
qda_open(coder_b)                                  # the second person codes
qda_code(1, "SME", segment = 2)
qda_close()
qda_open(project)                                  # back to the first person
ic <- qda_intercoder(coder_b)
ic[, c("code", "both", "only_a", "only_b", "agreement", "kappa", "alpha")]
#> # A tibble: 4 × 7
#>   code               both only_a only_b agreement kappa   alpha
#>   <chr>             <int>  <int>  <int>     <dbl> <dbl>   <dbl>
#> 1 (all codes)           1      3      0     0.929 0.376  0.370 
#> 2 Career path           0      2      0     0.857 0     -0.0385
#> 3 Career path / SME     1      0      0     1     1      1     
#> 4 Motivation            0      1      0     0.929 0      0
qda_intercoder_diff(coder_b)[, c("segment", "code", "coded_by")]
#> # A tibble: 3 × 3
#>   segment code        coded_by
#>     <int> <chr>       <chr>   
#> 1       1 Motivation  A       
#> 2       3 Career path A       
#> 3       7 Career path A

Graphics

Code co-occurrence (which codes occur in the same segment), a code network and document portraits – as tables and as SVG graphics (printing one shows it in the RStudio Viewer; file = saves it).

qda_code(1, "Motivation", segment = 2)   # together with "SME"
qda_cooccurrence()
#> # A tibble: 1 × 6
#>   code_a            code_b         n   n_a   n_b jaccard
#>   <chr>             <chr>      <int> <int> <int>   <dbl>
#> 1 Career path / SME Motivation     1     1     2     0.5
svg <- qda_plot_network()
head(qda_portrait()[, c("segment", "code")])
#> # A tibble: 6 × 2
#>   segment code       
#>     <int> <chr>      
#> 1       1 Motivation 
#> 2       2 Career path
#> 3       2 Motivation 
#> 4       3 Career path
#> 5       4 NA         
#> 6       5 NA

Exchange with other QDA software

qda_export_qdpx() writes the project in the REFI-QDA exchange format, which MAXQDA, ATLAS.ti, NVivo and QualCoder import.

basename(qda_export_qdpx(tempfile(fileext = ".qdpx")))
#> [1] "file1f3e8831527.qdpx"

Export, report and backup

qda_export() writes CSV, Excel and Word files and a standalone HTML report into exports/ next to the project. The report is made for printing on A4: colours only appear as lines and borders, and a margin column next to each interview shows which codings, comments and memos are at which place.

out <- qda_export(c("codebook", "report"))
basename(out$file)
#> [1] "codebook_20261130-150613.csv"  "codebook_20261130-150613.docx"
#> [3] "report_20261130-150613.html"
basename(qda_backup(quiet = TRUE))
#> [1] "example_20261130-150613.zip"

The app

qda_app()               # language follows qda_language() / your system
qda_app(lang = "de")    # German user interface

In the app you mark text with the mouse and click a code; codes with subcodes unfold them in the coding bar. The code tree supports “+ Code”, “+ Subcode”, renaming by double click, merging codes and a coding guideline per code. The analysis window offers word frequencies, keyword in context and a table for Mayring’s paraphrase and generalisation.

Offline guarantee

jellyqda never opens a network connection; the app binds to 127.0.0.1 only. The test suite checks the package source for network calls.