cellKey: Consistent Perturbation of Statistical Frequency- And MagnitudeTables
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>.
| Version: | 1.0.3 |
| Depends: | R (≥ 4.1),sdcHierarchies (≥ 0.19.3) |
| Imports: | rlang, methods,digest (≥ 0.6.23),sdcTable (≥ 0.32.2),ptable (≥ 1.0.0),cli, utils,yaml, parallel,data.table |
| Suggests: | testthat,knitr,rmarkdown |
| Published: | 2025-09-03 |
| DOI: | 10.32614/CRAN.package.cellKey |
| Author: | Bernhard Meindl [aut, cre] |
| Maintainer: | Bernhard Meindl <bernhard.meindl at statistik.gv.at> |
| BugReports: | https://github.com/sdcTools/userSupport/issues |
| License: | GPL-2 |
| URL: | https://github.com/sdcTools/cellKey |
| NeedsCompilation: | no |
| Materials: | README,NEWS |
| CRAN checks: | cellKey results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=cellKeyto link to this page.