Skip to content

datanugget

1.5.0Package record

Create, Optimize, and Refine Data Nuggets

2packages dependsuggested by 1
3.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Creating, optimizing and refining data nuggets. Data nuggets reduce a large dataset into a small collection of nuggets of data, each containing a center (location), weight (importance), and scale (variability) parameter. Data nugget centers are selected based on a space-filling maximum-entropy scheme. Data nugget weights are created by counting the number observations closest to a given data nugget center. We then say the data nugget 'contains' these observations and the data nugget center is recalculated as the mean of these observations. Data nugget scales are created by calculating the trace of the covariance matrix of the observations contained within a data nugget divided by the dimension of the dataset. The optimal number of data nuggets is determined data-driven based on the relative second-order differences of propensity score indices. Data nuggets are refined by 'splitting' data nuggets which have high scales or elongated shapes (defined as the ratio of the two largest eigenvalues of the covariance matrix of the observations contained within the data nugget).

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.5.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
7includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
71%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
100%

Downloads

3.4K
CRAN downloads in the past year
Rank #8,802 · ~9/day · ~283/mo
Daily download trend is not available in this view yet.
39830 days
1.1K90 days
3.4K1 year
Compare downloads with other packages →
Also on114 r2u6 autocran

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing datanugget adds 27 packages (12 with compiled code, 18 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.

Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Depends 2
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (7)
Author, Maintainer since 1.4.0 (2025) · added in 1.4.0
Author · added in 1.2.2
Author · added in 1.2.1
Author · added in 1.2.2

Previously maintained by Yajie Duan (1.2.1 to 1.3.1) and Traymon Beavers (1.0.0).

Releases (8)

Pick two releases to compare their code metrics.

  • 1.5.0Latest
    record
    2026-08-21 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.0
    record
    2025-12-04 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.3.1
    record
    2024-09-14 · diff ↗
  • 1.3.0
    record
    2024-07-30 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.4
    record
    2023-11-28 · diff ↗
  • 1.2.2
    record
    2023-10-26 · diff ↗
  • unarchivedReturned to CRAN
    2023-05-02
  • 1.2.1
    record
    2023-05-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-04-07
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
Show 2 earlier eventsHide 2 earlier events
  • 1.0.0
    record
    2020-01-24
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-01-24
Total releases
8 / 6 yrs
License
GPL-2 OSI
Minimum R
≥ 4.0
Download size
17 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("datanugget")
Dey, R., Beavers, T., Cabrera, J., Cheng, G., Duan, Y., Lubomirski, M., & Qi, K. (2026). datanugget: Create, Optimize, and Refine Data Nuggets (Version 1.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.datanugget

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

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.

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