Description Usage Arguments Details Value Author(s) Examples
Function protectTable
is used to protect primary sensitive table cells
(that usually have been identified and set using
primarySuppression
). The function protects primary
sensitive table cells according to the method that has been chosen and the
parameters that have been set. Additional parameters that are used to control
the protection algorithm are set using parameter ...
.
1 | protectTable(object, method, ...)
|
object |
a |
method |
a character vector of length 1 specifying the algorithm that should be used to protect the primary sensitive table cells. Allowed values are:
|
... |
parameters used in the protection algorithm that has been selected. Parameters that can be changed are:
|
The implemented methods may have bugs that yield in not-fully protected tables. Especially
the usage of OPT
, HITAS
and HYPERCUBE
in production is not
suggested as these methods may eventually be removed completely. In case you encounter any problems,
please report it or use Tau-Argus (http://research.cbs.nl/casc/tau.htm).
an safeObj-class
object
Bernhard Meindl bernhard.meindl@statistik.gv.at
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # load problem (as it was created after performing primary suppression
# in the example of \code{\link{primarySuppression}})
sp <- searchpaths()
fn <- paste(sp[grep("sdcTable", sp)], "/data/problemWithSupps.RData", sep="")
problem <- get(load(fn))
# protect the table using the 'HITAS' algorithm with verbose output
protectedData <- protectTable(problem, method='HITAS', verbose=TRUE, useC=TRUE)
# showing a summary
summary(protectedData)
# looking at the final table with result suppression pattern
print(getInfo(protectedData, type='finalData'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.