Skip to content

cellKey

Consistent Perturbation of Statistical Frequency- And Magnitude Tables

v1.0.3 · Sep 3, 2025 · GPL-2

Description

Data from statistical agencies and other institutions often need to be protected before they can be published. This package can be used to perturb statistical tables in a consistent way. The main idea is to add - at the micro data level - a record key for each unit. Based on these keys, for any cell in a statistical table a cell key is computed as a function on the record keys contributing to a specific cell. Values that are added to the cell in order to perturb it are derived from a lookup-table that maps values of cell keys to specific perturbation values. The theoretical basis for the methods implemented can be found in Thompson, Broadfoot and Elazar (2013) <https://unece.org/fileadmin/DAM/stats/documents/ece/ces/ge.46/2013/Topic_1_ABS.pdf> which was extended and enhanced by Giessing and Tent (2019) <https://unece.org/fileadmin/DAM/stats/documents/ece/ces/ge.46/2019/mtg1/SDC2019_S2_Germany_Giessing_Tent_AD.pdf>.

Downloads

295

Last 30 days

13444th

837

Last 90 days

3.9K

Last year

Trend: +56.9% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘sdcTable’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.9Mb
  sub-directories of 1Mb or more:
    data   5.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.9Mb
  sub-directories of 1Mb or more:
    data   5.5Mb

Dependency Network

Dependencies Reverse dependencies sdcHierarchies rlang digest sdcTable ptable cli yaml data.table cellKey

Version History

5 tracked
new 1.0.3 Mar 10, 2026
updated 1.0.3 ← 1.0.2 diff Sep 2, 2025
updated 1.0.2 ← 1.0.1 diff Nov 23, 2023
updated 1.0.1 ← 1.0.0 diff Mar 16, 2023
new 1.0.0 Mar 9, 2023