Skip to content

SmallCountRounding

Small Count Rounding of Tabular Data

v1.2.5 · Sep 24, 2025 · MIT + file LICENSE

Description

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>.

Downloads

322

Last 30 days

12185th

973

Last 90 days

4.3K

Last year

Trend: -10.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies Matrix SSBtools ellipsis rlang SmallCountRounding

Version History

new 1.2.5 Mar 10, 2026
updated 1.2.5 ← 1.2.0 diff Sep 23, 2025
updated 1.2.0 ← 1.1.0 diff Feb 4, 2025
updated 1.1.0 ← 1.0.8 diff Dec 8, 2024
updated 1.0.8 ← 1.0.5 diff Oct 21, 2024
updated 1.0.5 ← 1.0.3 diff Sep 5, 2024
updated 1.0.3 ← 1.0.2 diff Nov 15, 2022
updated 1.0.2 ← 1.0.0 diff Oct 11, 2022
updated 1.0.0 ← 0.9.0 diff Aug 25, 2022
updated 0.9.0 ← 0.8.0 diff Sep 28, 2021
updated 0.8.0 ← 0.7.0 diff Apr 25, 2021
updated 0.7.0 ← 0.6.0 diff Mar 8, 2021
updated 0.6.0 ← 0.5.0 diff Oct 14, 2020
updated 0.5.0 ← 0.4.0 diff Sep 20, 2020
updated 0.4.0 ← 0.3.0 diff Oct 17, 2019
updated 0.3.0 ← 0.2 diff Feb 27, 2019
new 0.2 Oct 25, 2018