Skip to content

SmallCountRounding

1.2.5

Small Count Rounding of Tabular Data

0packages depend
4Kdownloads / year
60.4%test coverage
13/13checks pass

Overview

About
Maintained by Øyvind LangsrudFirst published 2018-10-2616 releasesCRAN page ↗GitHub ↗

A statistical disclosure control tool to protect frequency tables in cases where small values are sensitive. The function PLSrounding() performs small count rounding of necessary inner cells so that all small frequencies of cross-classifications to be published (publishable cells) are rounded. This is equivalent to changing micro data since frequencies of unique combinations are changed. Thus, additivity and consistency are guaranteed. The methodology is described in Langsrud and Heldal (2018) https://www.researchgate.net/publication/327768398_An_Algorithm_for_Small_Count_Rounding_of_Tabular_Data.

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.11
60.4%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
100%
Return-value docs
93%
References docs
15%

Downloads

4K
CRAN downloads in the past year
Rank #12,095 · ~11/day · ~337/mo
Daily download trend is not available in this view yet.
22130 days
83890 days
4K1 year
Compare downloads with other packages →
Also on138 r2u28 autocran70 c2d4u

Repository

Repository
3Stars
1Forks
0Open issues
0Open PRs
0Releases
191Commits
2Contributors
rstatisticsr-packagecran
191 commits · Last activity 2025-09-24

Stars over time

2024-04-02 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/statisticsnorway/ssb-smallcountrounding on 2026-08-23.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Security policy
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.5Latest
    2025-09-24 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.0
    2025-02-05 · diff ↗
  • 1.1.0
    2024-12-09 · diff ↗
  • 1.0.8
    2024-10-22 · diff ↗
  • 1.0.5
    2024-09-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.3
    2022-11-16 · diff ↗
  • 1.0.2
    2022-10-12 · diff ↗
  • 1.0.0
    2022-08-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.0
    2021-09-29 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.8.0
    2021-04-26 · diff ↗
Show 9 earlier events
  • 0.7.0
    2021-03-09 · diff ↗
  • 0.6.0
    2020-10-15 · diff ↗
  • 0.5.0
    2020-09-21 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.0
    2019-10-18 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.0
    2019-02-28 · diff ↗
  • 0.2
    2018-10-26
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-10-26
Total releases
16 / 8 yrs
License
MIT + file LICENSE OSI
Download size
168 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("SmallCountRounding")
Langsrud, Ø., & Heldal, J. (2025). SmallCountRounding: Small Count Rounding of Tabular Data (Version 1.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.SmallCountRounding

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

From data release v2026-08-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