Learn R Programming

oolong (version 0.7.0)

Create Validation Tests for Automated Content Analysis

Description

Intended to create standard human-in-the-loop validity tests for typical automated content analysis such as topic modeling and dictionary-based methods. This package offers a standard workflow with functions to prepare, administer and evaluate a human-in-the-loop validity test. This package provides functions for validating topic models using word intrusion, topic intrusion (Chang et al. 2009, ) and word set intrusion (Ying et al. 2021) tests. This package also provides functions for generating gold-standard data which are useful for validating dictionary-based methods. The default settings of all generated tests match those suggested in Chang et al. (2009) and Song et al. (2020) .

Copy Link

Version

Install

install.packages('oolong')

Monthly Downloads

270

Version

0.7.0

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Chung-hong Chan

Last Published

May 7th, 2026

Functions in oolong (0.7.0)

create_oolong

Generate an oolong test
clone_oolong

Clone an oolong object
abstracts_seededlda

Topic models trained with the abstracts dataset.
abstracts

Abstracts of communication journals dataset
afinn

AFINN dictionary
newsgroup_nb

Naive Bayes model trained on 20 newsgroups data
print.oolong_gold_standard

Print oolong gold standard object
check_oolong

Check whether the oolong needs to be updated
export_oolong

Export a deployable Shiny app from an oolong object into a directory
deploy_oolong

Deploy an oolong test
print.oolong_summary

Print and plot oolong summary
revert_oolong

Obtain a locked oolong from a downloaded data file
update_oolong

Update an oolong object to the latest version
summarize_oolong

Summarize oolong objects
trump2k

Trump's tweets dataset