Quantitative Text Kit
Overview
Support package for the textbook "An Introduction to Quantitative Text Analysis for Linguists: Reproducible Research Using R" (Francom, 2024) doi:10.4324/9781003393764. Includes functions to acquire, clean, and analyze text data as well as functions to document and share the results of text analysis. The package is designed to be used in conjunction with the book, but can also be used as a standalone package for text analysis.
Bug fixes:
- Bug fix (#9):
create_data_dictionary()now catches errors when the \ AI model fails to produce a CSV output that will parse correctly. A warning \ is issued and the function returns a data dictionary without the AI model. \ _Note: In testing, gpt-3.5-turbo and gpt-4 have been found to be the most \ reliable models for this task._ - Bug fix:
calc_assoc_metrics()now uses {dplyr} functions to perform more \
efficient calculations. Previously, the function was using base R functions \
to calculate the metrics, and memory usage was high for large datasets.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-14
- ERROR12 OK, 1 ERROR2026-07-10
- OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 35 (21 internal)
- Examples that run
- 62%8 run in a plain check · 5 never run
- Exported functions with examples
- 93%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 9%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 92
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/qtalr/qtkit on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-01-14 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Aiderfirst seen 2024-11-24Named in .gitignore: .aider*Commits: its name on a commit author
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.1.1Latest
- 1.1.0
- 1.0.02024-08-17 · diff ↗ ·
added 9 exports
add_pkg_to_bib, calc_assoc_metrics, calc_type_metrics, create_data_dictionary, find_outliers, get_gutenberg_data, write_gg, write_kbl, write_obj - 0.10.02024-06-24
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-06-24
- Total releases
- 4 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1
- Download size
- 57 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("qtkit")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.