Learn R Programming

⚠️There's a newer version (5.7.8) of this package.Take me there.

sdcMicro

sdcMicro is an R-package to anonymize microdata. Most functionalities of the package are also available via an interactive shiny-based graphical user interface.

The online documentation can also be found at sdctools.github.io/sdcMicro.

Copy Link

Version

Install

install.packages('sdcMicro')

Monthly Downloads

785

Version

5.7.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Matthias Templ

Last Published

October 5th, 2022

Functions in sdcMicro (5.7.3)

addNoise

Adding noise to perturb data
argus_microaggregation

argus_microaggregation
LocalRecProg

Local recoding via Edmond's maximum weighted matching algorithm
CASCrefmicrodata

Census data set
EIA

EIA data set
addGhostVars

addGhostVars
calcRisks

Recompute Risk and Frequencies for a sdcMicroObj
casc1

Small Artificial Data set
argus_rankswap

argus_rankswap
dRiskRMD

RMD based disclosure risk
dUtility

Data-Utility measures
distributeRandom_cpp

Distribute
francdat

data from the casc project
free1

Demo data set from mu-Argus
Tarragona

Tarragona data set
infoLoss

Calculate information loss after targeted record swapping
createNewID

Creates new randomized IDs
indivRisk

Individual Risk computation
dRisk

overal disclosure risk
generateStrata

Generate one strata variable from multiple factors
freq

Freq
get.sdcMicroObj

get.sdcMicroObj
IL_correl

Additional Information-Loss measures
importProblem

importProblem
kAnon_violations

kAnon_violations
extractManipData

Remove certain variables from the data set inside a sdc object.
dataGen

Fast generation of synthetic data
distributeDraws_cpp

Distribute number of swaps
globalRecode

Global Recoding
mergeHouseholdData

Replaces the raw household-level data with the anonymized household-level data in the full dataset for anonymization of data with a household structure (or other hierarchical structure). Requires a matching household ID in both files.
groupAndRename

Join levels of a variables in an object of class sdcMicroObj-class or factor or data.frame
freqCalc

Frequencies calculation for risk estimation
orderData_cpp

Reorder data
measure_risk

Disclosure Risk for Categorical Variables
mafast

Fast and Simple Microaggregation
plot.localSuppression

Plots for localSuppression objects
localSupp

Local Suppression
print.indivRisk

Print method for objects from class indivRisk
localSuppression

Local Suppression to obtain k-anonymity
print.localSuppression

Print method for objects from class localSuppression
mvTopCoding

Detection and winsorization of multivariate outliers
nextSdcObj

nextSdcObj
createDat

Dummy Dataset for Record Swapping
print.suda2

Print method for objects from class suda2
modRisk

Global risk using log-linear models.
plotMicro

Comparison plots
plot.sdcMicroObj

Plotfunctions for objects of class sdcMicroObj
microaggregation

Microaggregation
sdcApp

sdcApp
recordSwap_cpp

Targeted Record Swapping
print.sdcMicroObj

Print and Extractor Functions for objects of class sdcMicroObj-class
sdcMicro-package

Statistical Disclosure Control (SDC) for the generation of protected microdata for researchers and for public use.
print.modrisk

Print method for objects from class modrisk
print.micro

Print method for objects from class micro
randSample_cpp

Random Sampling
sdcMicroObj-class

Class "sdcMicroObj"
report

Generate an Html-report from an sdcMicroObj
print.pram

Print method for objects from class pram
removeDirectID

Remove certain variables from the data set inside a sdc object.
set.sdcMicroObj

set.sdcMicroObj
selectHouseholdData

Creates a household level file from a dataset with a household structure.
suda2

Suda2: Detecting Special Uniques
shuffle

Shuffling and EGADP
summary.freqCalc

Summary method for objects from class freqCalc
microaggrGower

Microaggregation for numerical and categorical key variables based on a distance similar to the Gower Distance
writeSafeFile

writeSafeFile
subsetMicrodata

subsetMicrodata
setLevels_cpp

Define Swap-Levels
rankSwap

Rank Swapping
readMicrodata

readMicrodata
setRisk_cpp

Calculate Risk
summary.pram

Summary method for objects from class pram
microData

microData
summary.micro

Summary method for objects from class micro
testdata

A real-world data set on household income and expenditures
show,sdcMicroObj-method

Show
pram

Post Randomization
topBotCoding

Top and Bottom Coding
valTable

Comparison of different microaggregation methods
sampleDonor_cpp

Random sample for donor records
varToFactor

Change the a keyVariable of an object of class sdcMicroObj-class from Numeric to Factor or from Factor to Numeric
print.freqCalc

Print method for objects from class freqCalc.
riskyCells

riskyCells