Interactive Validation App for 'quallmer'

Companion package to 'quallmer' providing an interactive 'shiny' application for manual coding, reviewing large language model (LLM) generated annotations, and computing inter-rater reliability metrics. Supports three modes: blind manual coding, LLM output validation, and agreement calculation. Computes standard reliability metrics including Krippendorff's alpha (Krippendorff 2019 ), Cohen's kappa, Fleiss' kappa (Fleiss 1971 ), intraclass correlation coefficient (ICC), and percent agreement for nominal, ordinal, interval, and ratio data. Also computes gold-standard validation metrics including accuracy, precision, recall, and F1 scores following Sokolova and Lapalme (2009 ).


quallmer.app

R-CMD-check

Interactive Shiny Application for Quallmer Validation

Overview

quallmer.app provides an interactive Shiny application for working with qualitative data coded using the quallmer package. The app supports:

  • Manual coding: Code qualitative data directly in an intuitive interface
  • Review LLM-generated coding: Examine and validate AI-produced annotations
  • Compute agreement metrics: Calculate inter-rater reliability and validate against gold standards

Installation

# Install from GitHub
# install.packages("pak")
pak::pak("quallmer/quallmer.app")

Usage

library(quallmer.app)

# Launch the quallmer app
qlm_app()

Using the Sample Data

The package includes sample movie review data to help you learn the app:

# Get the path to the sample data file
sample_file <- system.file("extdata", "sample_data.rds", package = "quallmer.app")

# Launch the app
qlm_app()

# In the app, upload the file at the path shown by:
print(sample_file)

The sample dataset contains 20 movie reviews coded by three coders with a gold standard, perfect for testing inter-rater reliability and gold-standard validation features.

Requirements

This package requires the quallmer package to be installed.

Documentation

For more information about the quallmer ecosystem, see the main quallmer package documentation.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("quallmer.app")

0.1.0 by Seraphine F. Maerz, 8 months ago


https://github.com/quallmer/quallmer.app


Report a bug at https://github.com/quallmer/quallmer.app/issues


Browse source code at https://github.com/cran/quallmer.app


Authors: Seraphine F. Maerz [aut, cre] (ORCID: , Kenneth Benoit [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports quallmer, shiny, bslib, dplyr, tidyr, irr, htmltools, cli, stats, utils

Suggests testthat


See at CRAN