sdcMicro: Statistical Disclosure Control Methods for Anonymization of Microdata and Risk Estimation
Version 5.0.1

Data from statistical agencies and other institutions are mostly confidential. This package can be used for the generation of anonymized (micro)data, i.e. for the creation of public- and scientific-use files. In addition, various risk estimation methods are included. Note that the package includes a graphical user interface that allows to use various methods of this package.

AuthorMatthias Templ, Alexander Kowarik, Bernhard Meindl
Date of publication2017-03-14 14:21:04
MaintainerMatthias Templ <matthias.templ@gmail.com>
LicenseGPL-2
Version5.0.1
URL https://github.com/sdcTools/sdcMicro
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("sdcMicro")

Getting started

Package overview
README.md
Using the interactive GUI - sdcApp

Popular man pages

CASCrefmicrodata: Census data set
free1: Demo data set from mu-Argus
indivRisk: Individual Risk computation
localSupp: Local Suppression
localSuppression: Local Suppression to obtain k-anonymity
microaggregation: Microaggregation
suda2: Suda2: Detecting Special Uniques
See all...

All man pages Function index File listing

Man pages

addGhostVars: addGhostVars
addNoise: Adding noise to perturb data
calcRisks: Recompute Risk and Frequencies for a sdcMicroObj
casc1: Small Artificial Data set
CASCrefmicrodata: Census data set
createNewID: Creates new randomized IDs
dataGen: Fast generation of synthetic data
dRisk: overal disclosure risk
dRiskRMD: RMD based disclosure risk
dUtility: data utility
EIA: EIA data set
extractManipData: Remove certain variables from the data set inside a sdc...
francdat: data from the casc project
free1: Demo data set from mu-Argus
freq: Freq
freqCalc: Frequencies calculation for risk estimation
generateStrata: Generate one strata variable from multiple factors
get.sdcMicroObj: get.sdcMicroObj
globalRecode: Global Recoding
groupAndRename: Join levels of a variables in an object of class...
importProblem: importProblem
indivRisk: Individual Risk computation
LLmodGlobalRisk: Global risk using log-linear models.
LocalRecProg: Local recoding via Edmond's maximum weighted matching...
localSupp: Local Suppression
localSuppression: Local Suppression to obtain k-anonymity
mafast: Fast and Simple Microaggregation
measure_risk: Disclosure Risk for Categorical Variables
mergeHouseholdData: Replaces the raw household-level data with the anonymized...
microaggregation: Microaggregation
microaggrGower: Microaggregation for numerical and categorical key variables...
microData: microData
modRisk: Global risk using log-linear models.
nextSdcObj: nextSdcObj
plot.localSuppression: plot method for localSuppression objects
plotMicro: Comparison plots
plot.sdcMicroObj: Plotfunctions for objects of class 'sdcMicroObj-class'
pram: Post Randomization
print.freqCalc: Print method for objects from class freqCalc.
print.indivRisk: Print method for objects from class indivRisk
print.localSuppression: Print method for objects from class localSuppression
print.micro: Print method for objects from class micro
print.modrisk: Print method for objects from class modrisk
print.pram: Print method for objects from class pram
print.sdcMicroObj: Print and Extractor Functions for objects of class...
print.suda2: Print method for objects from class suda2
rankSwap: Rank Swapping
readMicrodata: readMicrodata
removeDirectID: Remove certain variables from the data set inside a sdc...
report: Generate an Html-report from an sdcMicroObj
sdcApp: sdcApp
sdcMicroObj-class: Class '"sdcMicroObj"'
sdcMicro-package: Statistical Disclosure Control (SDC) for the generation of...
selectHouseholdData: Creates a household level file from a dataset with a...
set.sdcMicroObj: set.sdcMicroObj
show-sdcMicroObj-method: Show
shuffle: Shuffling and EGADP
subsetMicrodata: subsetMicrodata
suda2: Suda2: Detecting Special Uniques
summary.freqCalc: Summary method for objects from class freqCalc
summary.micro: Summary method for objects from class micro
summary.pram: Summary method for objects from class pram
Tarragona: Tarragona data set
testdata: A real-world data set on household income and expenditures
topBotCoding: Top and Bottom Coding
valTable: Comparison of different microaggregation methods
varToFactor: Change the a keyVariable of an object of class...
writeSafeFile: writeSafeFile

Functions

CASCrefmicrodata Man page
EIA Man page
LLmodGlobalRisk Man page Source code
LLmodGlobalRiskWORK Source code
LocalRecProg Man page Source code
LocalRecProgWORK Source code
Tarragona Man page
addGhostVars Man page Source code
addNoise Man page Source code
addNoiseWORK Source code
addVarLabels Source code
addWarning Source code
calcRisks Man page Source code
casc1 Man page
changeVarLabel Source code
coefTime Source code
computeNumberPrev Source code
cpp_calcSuppInds Source code
createNewID Man page Source code
createSdcObj Man page Source code
dRisk Man page Source code
dRiskRMD Man page Source code
dRiskRMDWORK Source code
dRiskWORK Source code
dUtility Man page Source code
dUtilityWORK Source code
dataGen Man page Source code
dataGenWORK Source code
deletePrevSave Source code
extractLabels Source code
extractManipData Man page Source code
francdat Man page
free1 Man page
freq Man page Source code
freqCalc Man page Source code
generateStrata Man page Source code
get.sdcMicroObj Man page Source code
globalRecode Man page Source code
globalRecodeWORK Source code
gowerD Source code
groupAndRename Man page Source code
importProblem Man page Source code
indivRisk Man page Source code
inputs_pram Source code
kAnon Man page Source code
ldiversity Man page Source code
ldiversityWORK Source code
localSupp Man page Source code
localSuppWORK Source code
localSuppression Man page Source code
localSuppressionWORK Source code
maGowerWORK Source code
mafast Man page Source code
mafastWORK Source code
maxCat Man page Source code
mdav Source code
measure_risk Man page Source code
measure_riskWORK Source code
mergeHouseholdData Man page Source code
microData Man page
microaggrGower Man page Source code
microaggregation Man page Source code
microaggregationWORK Source code
modRisk Man page Source code
modrisk Man page
nextSdcObj Man page Source code
onAttach Source code
plot Man page
plot,sdcMicroObj-method Man page
plot-methods Man page
plot.localSuppression Man page Source code
plot.sdcMicroObj Man page
plotMicro Man page Source code
pram Man page Source code
pramWORK Source code
predictTime Source code
prettyF Source code
print,sdcMicroObj-method Man page
print.freqCalc Man page Source code
print.indivRisk Man page Source code
print.ldiversity Man page Source code
print.localSuppression Man page Source code
print.measure_risk Man page Source code
print.micro Man page Source code
print.modrisk Man page Source code
print.pram Man page Source code
print.sdcMicroObj Man page
print.suda2 Man page Source code
rankSwap Man page Source code
readMicrodata Man page Source code
removeDirectID Man page Source code
report Man page Source code
sampleCat Man page Source code
sdcApp Man page Source code
sdcMicro Man page
sdcMicro-package Man page
sdcMicroObj-class Man page
selectHouseholdData Man page Source code
set.sdcMicroObj Man page Source code
show,sdcMicroObj-method Man page
shuffle Man page Source code
shuffleWORK Source code
standardizeInput Source code
strataVar<- Man page
strataVar<-,sdcMicroObj,characterOrNULL-method Man page
subsetMicrodata Man page Source code
suda2 Man page Source code
suda2WORK Source code
summary.freqCalc Man page Source code
summary.micro Man page Source code
summary.pram Man page Source code
testdata Man page
testdata2 Man page
topBotCoding Man page Source code
topBotCodingWORK Source code
tryCatchFn Source code
undolast Man page Source code
valTable Man page Source code
varToFactor Man page Source code
varToNumeric Man page Source code
which.minN Source code
writeSafeFile Man page Source code

Files

inst
inst/CITATION
inst/shiny
inst/shiny/sdcApp
inst/shiny/sdcApp/ui.R
inst/shiny/sdcApp/server.R
inst/shiny/sdcApp/contributors.txt
inst/shiny/sdcApp/www
inst/shiny/sdcApp/www/bootstrap.css
inst/shiny/sdcApp/www/bootswatch_yeti.css
inst/shiny/sdcApp/www/imgs
inst/shiny/sdcApp/www/imgs/logo_da.jpg
inst/shiny/sdcApp/www/imgs/logo_worldbank.png
inst/shiny/sdcApp/www/imgs/logo_ukaid.png
inst/shiny/sdcApp/www/bootswatch_journal.css
inst/shiny/sdcApp/www/bootswatch_flatly.css
inst/shiny/sdcApp/www/js
inst/shiny/sdcApp/www/js/customTextInputBinding.js
inst/shiny/sdcApp/controllers
inst/shiny/sdcApp/controllers/ui_import_data.R
inst/shiny/sdcApp/controllers/ui_anonymize.R
inst/shiny/sdcApp/controllers/ui_script.R
inst/shiny/sdcApp/controllers/ui_setup_sdc.R
inst/shiny/sdcApp/controllers/ui_continuous.R
inst/shiny/sdcApp/controllers/ui_categorical.R
inst/shiny/sdcApp/controllers/ui_about.R
inst/shiny/sdcApp/controllers/ui_undo.R
inst/shiny/sdcApp/controllers/ui_results_numerical.R
inst/shiny/sdcApp/controllers/ui_results.R
inst/shiny/sdcApp/controllers/ui_modify_data.R
inst/shiny/sdcApp/controllers/ui_errors_general.R
inst/shiny/sdcApp/controllers/ui_export_data.R
inst/shiny/sdcApp/controllers/reactive_expressions.R
inst/shiny/sdcApp/controllers/ui_sidebar_problemInfo.R
inst/shiny/sdcApp/controllers/ui_results_categorical.R
inst/shiny/sdcApp/global.R
inst/templates
inst/templates/report.css
inst/templates/report-template.rmd
inst/templates/report-template-simple.rmd
inst/doc
inst/doc/sdc_guidelines.pdf
inst/doc/sdc_guidelines.R
inst/doc/sdcApp.Rmd
inst/doc/sdc_guidelines.rnw
inst/doc/sdcApp.html
tests
tests/microaggregation_test.R
tests/reporting_test.R
tests/testhat.R
tests/globalRecoding_test.R
tests/testthat
tests/testthat/test_freqCalc.R
src
src/Measure_Threshold.h
src/calcSuppInds.cpp
src/gowerD.cpp
src/Measure_Risk.h
src/sdcMicro.c
src/RankSwapping.h
src/Mdav.h
src/Framework.h
src/Measure_Hierarchical.h
src/Suda2.h
src/init.c
src/RcppExports.cpp
src/LocalRecProg
src/LocalRecProg/EdmondsMatch-Inc.h
src/LocalRecProg/EdmondsMatch.h
src/LocalRecProg/edmonds.cpp
src/LocalRecProg/edmonds.h
src/LocalRecProg/kneibmatch.cpp
src/LocalRecProg/datadesc.h
src/LocalRecProg/datadesc.cpp
src/0Main.cpp
NAMESPACE
NEWS
data
data/free1.rda
data/CASCrefmicrodata.rda
data/microData.rda
data/francdat.rda
data/EIA.rda
data/Tarragona.rda
data/testdata2.RData
data/casc1.rda
data/testdata.RData
R
R/dataSets.R
R/dRiskRMD.R
R/indivRisk.R
R/timeEstimation.R
R/GUIfunctions.R
R/mafast.R
R/dRisk.R
R/modRisk.R
R/microaggregation.R
R/report.R
R/sdcMicro-package.R
R/createNewID.R
R/rankSwap.R
R/globalRecode.R
R/plotMicro.R
R/shuffle.R
R/localSuppression.R
R/suda2.R
R/measure_risk.R
R/maG.R
R/show_sdcMicroObj.R
R/sdcApp.R
R/RcppExports.R
R/dataGen.r
R/dUtility.R
R/localSupp.R
R/valTable.R
R/groupAndRename.R
R/mdav.R
R/aux_functions.r
R/methods.r
R/addGhostVars.R
R/pram.R
R/0classes.r
R/addNoise.r
R/LocalRecProg.R
R/freqCalc.r
R/topBotCoding.R
R/zzz.R
R/plotFunctions.R
R/LLmodGlobalRisk.R
R/printFunctions.R
vignettes
vignettes/zwei.pdf
vignettes/da1.sty
vignettes/drei.pdf
vignettes/imgs
vignettes/imgs/ablauf.png
vignettes/imgs/sdc_guidelines-001.pdf
vignettes/imgs/intervals.pdf
vignettes/vier.pdf
vignettes/sdcApp.Rmd
vignettes/references.bib
vignettes/FinalLogoSmaller.pdf
vignettes/sdc_guidelines.rnw
vignettes/res.RData
vignettes/eins.pdf
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/subsetMicrodata.Rd
man/calcRisks.Rd
man/print.localSuppression.Rd
man/print.indivRisk.Rd
man/valTable.Rd
man/casc1.Rd
man/CASCrefmicrodata.Rd
man/print.modrisk.Rd
man/generateStrata.Rd
man/summary.freqCalc.Rd
man/selectHouseholdData.Rd
man/freq.Rd
man/indivRisk.Rd
man/importProblem.Rd
man/createNewID.Rd
man/print.freqCalc.Rd
man/microaggregation.Rd
man/measure_risk.Rd
man/topBotCoding.Rd
man/print.micro.Rd
man/print.pram.Rd
man/plot.localSuppression.Rd
man/dRiskRMD.Rd
man/free1.Rd
man/sdcApp.Rd
man/print.suda2.Rd
man/suda2.Rd
man/print.sdcMicroObj.Rd
man/francdat.Rd
man/show-sdcMicroObj-method.Rd
man/dUtility.Rd
man/plotMicro.Rd
man/rankSwap.Rd
man/modRisk.Rd
man/sdcMicroObj-class.Rd
man/plot.sdcMicroObj.Rd
man/sdcMicro-package.Rd
man/addNoise.Rd
man/microData.Rd
man/nextSdcObj.Rd
man/readMicrodata.Rd
man/groupAndRename.Rd
man/dataGen.Rd
man/Tarragona.Rd
man/EIA.Rd
man/pram.Rd
man/mafast.Rd
man/localSupp.Rd
man/mergeHouseholdData.Rd
man/testdata.Rd
man/freqCalc.Rd
man/get.sdcMicroObj.Rd
man/LocalRecProg.Rd
man/removeDirectID.Rd
man/globalRecode.Rd
man/dRisk.Rd
man/LLmodGlobalRisk.Rd
man/report.Rd
man/summary.pram.Rd
man/writeSafeFile.Rd
man/extractManipData.Rd
man/localSuppression.Rd
man/varToFactor.Rd
man/microaggrGower.Rd
man/set.sdcMicroObj.Rd
man/addGhostVars.Rd
man/shuffle.Rd
man/summary.micro.Rd
sdcMicro documentation built on May 19, 2017, 10:34 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.