A 'Shiny' App for Exploration of Text Collections
Overview
Facilitates dynamic exploration of text collections through an intuitive graphical user interface and the power of regular expressions. The package contains 1) a helper function to convert a data frame to a 'corporaexplorerobject' and 2) a 'Shiny' app for fast and flexible exploration of a 'corporaexplorerobject'. The package also includes demo apps with which one can explore Jane Austen's novels and the State of the Union Addresses (data from the 'janeaustenr' and 'sotu' packages respectively).
Breaking changes
New arguments (and new order of arguments) in prepare_data():
text_column: Any character column can be specified as as the column containing the main textual data (not only 'Text' as before). Thanks to @discoleo for suggestion (#31).
Changes in reserved column names (see ?prepare_data for details).
In particular, Year is now allowed.
Other changes
- Non-date-based corpora can now contain column called 'Date'.
- Introduced nicer display of searches with (exactly) two search terms (feebc552, feebc552e4, 325aeb3b).
Future removal
Added warning that the 'run_document_extractor()' app will be removed in a future version of corporaexplorer.
Bug fix:
Fixed filtering by dates (8c1a175b)
Show all changes in 0.9.0Hide the rest of the changes in 0.9.0
Other
- Changed internals to avoid ggplot2 warning
- Changing testing library to shinytest2
- Change in testing due to changes in data.table (thanks for heads-up, @MichaelChirico)
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespaces in Imports field not imported from: ‘RColorBrewer’ ‘ggplot2’ ‘re2’ ‘rmarkdown’ ‘shinyWidgets’ ‘shinydashboard’ ‘shinyjs’ All declared Imports should be used.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 19 (13 internal)
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 57%
- Documented parameters
- 96%
- Return-value docs
- 67%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 4
- 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
8 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/kgjerde/corporaexplorer on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-03-06 · The repository has a site deploy workflow
Dependencies
Installing corporaexplorer adds 68 packages (38 with compiled code, 67 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
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
- 0.9.0Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.8.62022-06-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.8.52022-04-08 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.8.42021-03-18 · diff ↗
- 0.8.32020-11-13 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.8.22020-03-07 · diff ↗
- 0.8.1.12020-02-07 · diff ↗
- 0.8.12020-02-07 · diff ↗
- 0.8.02019-12-02 · diff ↗ ·
added 8 exports
create_janeausten_app, create_sotu_app, create_sotu_decade_app, explore, explore0, run_janeausten_app, run_sotu_app, run_sotu_decade_app
Package metadata
- First published
- 2019-09-09
- Total releases
- 12 / 7 yrs
- License
- GPL-3 | file LICENSE OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 9.2 KB / 1 file
- Download size
- 93 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("corporaexplorer")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.01342.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.