Supervised Machine Learning for Textual Data Using Transformers and 'Quanteda'
Overview
Duct tape the 'quanteda' ecosystem (Benoit et al., 2018) doi:10.21105/joss.00774 to modern Transformer-based text classification models (Wolf et al., 2020) doi:10.18653/v1/2020.emnlp-demos.6, in order to facilitate supervised machine learning for textual data. This package mimics the behaviors of 'quanteda.textmodels' and provides a function to setup the 'Python' environment to use the pretrained models from 'Hugging Face' https://huggingface.co/. More information: doi:10.5117/CCR2023.1.003.CHAN.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-12
- ERROR12 OK, 1 ERROR2026-05-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 10
- Examples that run
- 100%3 run in a plain check (3 of them under a condition)
- Exported functions with examples
- 50%
- Documented parameters
- 87%
- Return-value docs
- 100%
- Help pages citing references
- 30%
- Setup Guide HTML
Downloads
Repository
- PRs merged (all time)
- 87%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/gesistsa/grafzahl on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2025-09-02 · The repository has a site deploy workflow
pkgdown site last built 2025-09-02
Show all practicesHide 1 practice
Dependencies
Installing grafzahl adds 42 packages (24 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, quanteda 4.2 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- quantedafix by Oct 22
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.0.12Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.0.11
- RR 4.3.0 released · 2023-04-21
- 0.0.82023-04-12 · diff ↗
- 0.0.52023-01-20
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-01-20
- Total releases
- 4 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 783 KB / 3 files
- Download size
- 861 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("grafzahl")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5117/ccr2023.1.003.chan.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.