Package: cellKey
Type: Package
Date: 2025-09-03
Title: Consistent Perturbation of Statistical Frequency- And Magnitude
        Tables
Version: 1.0.3
Authors@R: c(
  person(
    given="Bernhard", family="Meindl", 
    email="bernhard.meindl@statistik.gv.at", 
    role=c("aut", "cre")))
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>.
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
License: GPL-2
Encoding: UTF-8
Suggests: testthat, knitr, rmarkdown
VignetteBuilder: knitr
NeedsCompilation: no
Author: Bernhard Meindl [aut, cre]
Maintainer: Bernhard Meindl <bernhard.meindl@statistik.gv.at>
LazyData: true
LazyDataCompression: xz
BugReports: https://github.com/sdcTools/userSupport/issues
URL: https://github.com/sdcTools/cellKey
RoxygenNote: 7.2.3
Packaged: 2025-09-03 09:36:38 UTC; meindl
Repository: CRAN
Date/Publication: 2025-09-03 10:20:10 UTC
Built: R 4.6.0; ; 2025-10-11 03:57:03 UTC; windows
