Package: cellKey 1.0.3

cellKey: Consistent Perturbation of Statistical Frequency- And Magnitude Tables

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

Authors:Bernhard Meindl [aut, cre]

cellKey_1.0.3.tar.gz
cellKey_1.0.3.zip(r-4.7)cellKey_1.0.3.zip(r-4.6)cellKey_1.0.3.zip(r-4.5)
cellKey_1.0.3.tgz(r-4.6-any)cellKey_1.0.3.tgz(r-4.5-any)
cellKey_1.0.3.tar.gz(r-4.7-any)cellKey_1.0.3.tar.gz(r-4.6-any)
cellKey_1.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
cellKey/json (API)
NEWS

# Install 'cellKey' in R:
install.packages('cellKey', repos = c('https://bernhard-da.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sdctools/usersupport/issues

Datasets:
  • ck_dat_hc92 - A real-world data set on persons
  • testdata - A real-world data set on household income and expenditures

On CRAN:

Conda:

2.70 score 8 scripts 234 downloads 10 exports 69 dependencies

Last updated from:a4b86e1eeb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK211
source / vignettesOK272
linux-release-x86_64OK199
macos-release-arm64OK190
macos-oldrel-arm64OK158
windows-develOK154
windows-releaseOK236
windows-oldrelOK161
wasm-releaseOK143

Exports:ck_cnt_measuresck_create_testdatack_flexparamsck_generate_rkeysck_params_cntsck_params_numsck_read_yamlck_setupck_simpleparamsck_vignette

Dependencies:backportsbase64encbslibcachemcheckmateclicommonmarkcpp11data.tabledigestevaluatefarverfastmapflexdashboardfontawesomefsggplot2gluegtablehighrhighshtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemimenloptrotelprogressrpromisesptableR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalessdcHierarchiessdcTableshinyshinyjsshinythemesshinyTreeslamsourcetoolsSSBtoolsstringistringrtinytexvctrsviridisLitewithrxfunxtableyaml

Introduction to the cellKey-Package

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2025-09-03
Started: 2023-03-10