R Observatory
Search
install.packages("textdata")
CRAN 30-day downloads, method
4,541+32.7% up on the 30 days before, the better direction
Test coverage, method
0%of lines run by tests

Provides a framework to download, parse, and store text datasets on the disk and load them when needed. Includes various sentiment lexicons and labeled text data sets for classification and analysis.

Maintainer
Emil Hvitfeldt
Latest release
28 May 2024
First release
12 Jun 2019

Compare with another package

More details
Releases
9
Needs compilation
No
RoxygenNote
7.3.1.9000
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("textdata")
APA
Hvitfeldt, E., & Silge, J. (2024). textdata: Download and Load Various Text Datasets (Version 0.4.5) [Computer software]. https://doi.org/10.32614/CRAN.package.textdata
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 textdata version 0.4.5 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.4.5
    Time taken
    57 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.4.5
    Time taken
    43 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.4.5
    Time taken
    49 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.4.5
    Time taken
    41 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    99 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.4.5
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    56 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    91 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    50 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    50 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.4.5
    Time taken
    21 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    64 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.4.5
    Time taken
    90 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
4,565+32.6% up on the 30 days before, the better directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

1,656 of 26,530

CRAN

4,541 downloads in the last 30 days

Rank
1,656 of 26,530
Change
+32.7% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

17 downloads in the last 30 days

Rank
5,162 of 30,526
Change
+113% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

7 downloads in the last 30 days

Rank
6,587 of 29,212
Change
−50% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
3
Suggested by
4
Needs (4)
Installing it adds
26 packages, 8.1 MB of source
Of those, need compilation
15
Optional extras (4)
Dependent packages (3)
PackageTitleDownloads in 30 days
transforEmotionTransformer Emotion Analysis for Text, Image, Video, and Speech450
texterAn Easy Text and Sentiment Analysis Library236
DisasterAlertDisaster Alert and Sentiment Analysis219
Functions
51
Public exports
18
Lines of R code
1,928
Median complexity
1
Functions (51)
Size and composition

Lines by kind (3,265)

KindLinesShare
R code1,92859%
Tests642%
Documentation1,22337%
Guides502%

Lines by language

LanguageLinesShare
R1,99261%
Rd1,22338%
Vignettes502%

Languages are counted from file extensions.

Files
53
R functions
51
Complexity
Median
1
Mean
1.49
Highest
9
Median lines per function
13
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
51
Calls
22
Unconnected
28
Groups
2
Growth (9 releases)
Total lines by release
863 on 12 Jun 20193,265 on 28 May 2024
Release changes

The tests ran and coverage was measured.

Lines run by tests
0%
Expressions run by tests
0%
Test cases
7
Exports named in tests
0%
Coverage by file (15)
Coverage run
Lines counted
562
Lines the tests ran
0
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
7
Lines of tests
64
Test lines per line of code
0.03
Exports documented
100%
Arguments documented
92.9%
Return value documented
86.7%
Help pages with examples
81.3%
Examples run in checks
0%
Guides (1)
Other documentation
README
Yes, 395 words
Release notes file
Yes
Help pages
16
Lines of documentation
1,223

EmilHvitfeldt / textdata on github.com

Stars
78
Forks
11
Open issues
13
Last commit
28 May 2024
Activity
Commits
143
Open pull requests
0
Tagged releases
8
Latest tagged release
v0.4.5, 28 May 2024
In development
Default branch at 0.4.5.9000, ahead of CRAN 0.4.5 (checked 2026-10-25)
Issues closed in
1 day (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
1 Jan 2019
Licence file reads as
–
Development practices (12)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow, Travis CI (config file)
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2024-05-28
The repository has a site deploy workflow
CoverageCoverage reporting (Codecov)
CRAN release processcran-comments.md, revdep/
Lint, format, editorRStudio project

Method, repository practices

Across EmilHvitfeldt

R releases
  • On CRAN
  • Release
VersionReleasedR
0.4.5 current28 May 20244.4.0
0.4.42 Sep 20224.2.1
0.4.315 Aug 20224.2.1
0.4.22 May 20224.2.0
0.4.14 May 20204.0.0
0.4.06 Mar 20203.6.3
0.3.028 Aug 20193.6.1
0.2.022 Jul 20193.6.1
Earlier versions (1)
VersionReleasedR
0.1.012 Jun 20193.6.0
Release notes (0.4.5)
  • Fixed bug where lexicon_nrc_vad() didn't have column names. (#53)