Skip to content

dhmeasures

1.0Package record

Digital History Measures

0packages depend
2.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides statistical functions to aid in the analysis of contemporary and historical corpora. These transparent functions may be useful to anyone, and were designed with the social sciences and humanities in mind. JSD (Jensen-Shannon Divergence) is a measure of the distance between two probability distributions. The JSD and Original JSD functions expand on existing functions, by calculating the JSD for distributions of words in text groups for all pairwise groups provided (Drost (2018) doi:10.21105/joss.00765). The Log Likelihood function is inspired by the work of digital historian Jo Guldi (Guldi (2022) https://github.com/joguldi/digital-history). Also includes helper functions that can count word frequency in each text grouping, and remove stop words.

Install

Health

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

none known

Documentation

In release 1.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Description cites a JOSS paper
Help pages
8includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
25%

Downloads

2.6K
CRAN downloads in the past year
Rank #13,924 · ~7/day · ~220/mo
Daily download trend is not available in this view yet.
29930 days
82890 days
2.6K1 year
Compare downloads with other packages →
Also on204 r2u3 autocran

Repository

0Stars
0Forks
3Open issues
0Open PRs
0Releases
Last activity 2026-04-20
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
not measured
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/stephbuon/dhmeasures on 2026-10-11.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing dhmeasures adds 23 packages (14 with compiled code, 23 MB of source tarballs). Heaviest: stringi 11 MB, tidytext 2.6 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5.0
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0Latest
    2026-03-23 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-23
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
1.0 MB / 2 files
Download size
1.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dhmeasures")
Buongiorno, S., & Schaefer, R. (2026). dhmeasures: Digital History Measures (Version 1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.dhmeasures

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

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

From data release v2026-10-18, 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