acR: Content Analysis in R: Integrated Qualitative (LLMs) and Quantitative Pipeline

Provides an integrated pipeline for content analysis combining qualitative coding assisted by large language models (LLMs) with classical quantitative text analysis. Includes modules for pre-processing (tokenization, stopwords for Brazilian Portuguese), descriptive statistics, keyness, co-occurrence networks, word clouds (including comparative and X-ray variants), sentiment analysis via OpLexicon, Latent Dirichlet Allocation (LDA), inter-coder reliability metrics (Krippendorff, Gwet), and modern visualizations based on ggplot2. Special focus on Brazilian corpora and political-institutional codebooks. Inspired by Maerz and Benoit (2025) <https://quallmer.github.io/quallmer/>.

Version: 0.3.2
Depends: R (≥ 4.1)
Imports: cli, dplyr, httr2, irr, jsonlite, purrr, rlang, stringr, tibble, tidyr, tidyselect, withr, yaml
Suggests: callr, cluster, covr, ellmer, ggplot2, ggraph, ggwordcloud, igraph, ipeaplot, knitr, shiny, openxlsx, pkgdown, quanteda, readtext, rmarkdown, scales, senatebR, spelling, stopwords, stringi, tesseract, testthat, tidytext, topicmodels, wordcloud, writexl
Published: 2026-08-07
DOI: 10.32614/CRAN.package.acR (may not be active yet)
Author: Anderson Henrique ORCID iD [aut, cre]
Maintainer: Anderson Henrique <anderson.henrique at usp.br>
BugReports: https://github.com/andersonheri/acR/issues
License: MIT + file LICENSE
URL: https://github.com/andersonheri/acR, https://ahenriquecp.com/acR/
NeedsCompilation: no
Language: en-US
Citation: acR citation info
Materials: README, NEWS
CRAN checks: acR results

Documentation:

Reference manual: acR.html , acR.pdf
Vignettes: Análise de proposições legislativas (source, R code)
Agrupamento não supervisionado de documentos (source, R code)
Introdução ao acR: pipeline integrado de análise de conteúdo (source, R code)
Modelagem de topicos com LDA (source, R code)
Análise de Conteúdo Qualitativa com LLMs (source, R code)
Analise quantitativa de texto (source, R code)
Quickstart — acR em 5 minutos (source, R code)
Replicabilidade ponta-a-ponta — do codebook ao relatório de método (source, R code)
Analise de sentimento (source, R code)

Downloads:

Package source: acR_0.3.2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=acR to link to this page.