Skip to content

quanteda.textstats

0.97.2Package record

Textual Statistics for the Quantitative Analysis of Textual Data

10packages dependsuggested by 4
56.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Kenneth BenoitCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: European Research Council

Textual statistics functions formerly in the 'quanteda' package. Textual statistics for characterizing and comparing textual data. Includes functions for measuring term and document frequency, the co-occurrence of words, similarity and distance between features and documents, feature entropy, keyword occurrence, readability, and lexical diversity. These functions extend the 'quanteda' package and are specially designed for sparse textual data.

Install

Health

CRAN checks
13OK
Slowest check: 5.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.97.2
READMEYes · 180 wordsVignettesNoNEWSYes · 100% structured · does not mention 0.97.2Citation fileYes · cites a publicationWebsiteYes
Cites a JOSS paper
Help pages
25 (16 internal)includes a package overview page
Examples that run
91%10 run in a plain check · 1 never run
Exported functions with examples
91%
Documented parameters
90%
Return-value docs
73%
Help pages citing references
20%

Downloads

56.7K
CRAN downloads in the past year
Rank #2,026 · ~155/day · ~4.7K/mo
Daily download trend is not available in this view yet.
3.7K30 days
9.1K90 days
56.7K1 year
Compare downloads with other packages →
Also on573 r2u5 autocran3.9K conda_forge66 c2d4u

Repository

19Stars
2Forks
23Open issues
1Open PRs
11Releases
221Commits
4Commit identities
License file reads as GPL-3.0 · 221 commits · Last activity 2025-07-09 · +5.6% stars, 30d · Default branch at 0.97.3, ahead of CRAN 0.97.2 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-06-20 · 172026-10-13 · 19
PracticesBeta

7 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/quanteda/quanteda.textstats on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing quanteda.textstats adds 17 packages (13 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, quanteda 4.2 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5.0
Imports (7)
Enhances (0)
none
Reverse dependencies
10direct
0indirect
Imports 10
Suggested by 4
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (6)
Maintainer since 0.90 (2020), Author, Copyright holder
Author
Funder
ERC-2011-StG 283794-QUANTESS
Releases (15)

Pick two releases to compare their code metrics.

Show 6 earlier eventsHide 6 earlier events

Package metadata

First published
2020-12-07
Total releases
15 / 6 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
33 KB / 1 file
Download size
137 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("quanteda.textstats")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for quanteda.textstats version 0.97.2 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy