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

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-01-04 12:08:55
MaintainerMatthias Templ <matthias.templ@gmail.com>
LicenseGPL-2
Version5.0.0
https://github.com/sdcTools/sdcMicro

View on CRAN

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

addGhostVars Man page
addNoise Man page
calcRisks Man page
casc1 Man page
CASCrefmicrodata Man page
createNewID Man page
createSdcObj Man page
dataGen Man page
dRisk Man page
dRiskRMD Man page
dUtility Man page
EIA Man page
extractManipData Man page
francdat Man page
free1 Man page
freq Man page
freqCalc Man page
generateStrata Man page
get.sdcMicroObj Man page
globalRecode Man page
groupAndRename Man page
importProblem Man page
indivRisk Man page
kAnon Man page
ldiversity Man page
LLmodGlobalRisk Man page
LocalRecProg Man page
localSupp Man page
localSuppression Man page
mafast Man page
maxCat Man page
measure_risk Man page
mergeHouseholdData Man page
microaggregation Man page
microaggrGower Man page
microData Man page
modrisk Man page
modRisk Man page
nextSdcObj Man page
plot Man page
plot.localSuppression Man page
plot-methods Man page
plotMicro Man page
plot.sdcMicroObj Man page
plot,sdcMicroObj-method Man page
pram Man page
print.freqCalc Man page
print.indivRisk Man page
print.ldiversity Man page
print.localSuppression Man page
print.measure_risk Man page
print.micro Man page
print.modrisk Man page
print.pram Man page
print.sdcMicroObj Man page
print,sdcMicroObj-method Man page
print.suda2 Man page
rankSwap Man page
readMicrodata Man page
removeDirectID Man page
report Man page
sampleCat Man page
sdcApp Man page
sdcMicro Man page
sdcMicroObj-class Man page
sdcMicro-package Man page
selectHouseholdData Man page
set.sdcMicroObj Man page
show,sdcMicroObj-method Man page
shuffle Man page
strataVar<- Man page
strataVar<-,sdcMicroObj,characterOrNULL-method Man page
subsetMicrodata Man page
suda2 Man page
summary.freqCalc Man page
summary.micro Man page
summary.pram Man page
Tarragona Man page
testdata Man page
testdata2 Man page
topBotCoding Man page
undolast Man page
valTable Man page
varToFactor Man page
varToNumeric Man page
writeSafeFile Man page

Files

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

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

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

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