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.6

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Matthias Templ

Last Published

September 27th, 2023

Functions in sdcMicro (5.7.6)

print.localSuppression

Print method for objects from class localSuppression
print.sdcMicroObj

Print and Extractor Functions for objects of class sdcMicroObj-class
LocalRecProg

Local recoding via Edmond's maximum weighted matching algorithm
get.sdcMicroObj

get.sdcMicroObj
recordSwap_cpp

Targeted Record Swapping
freqCalc

Frequencies calculation for risk estimation
topBotCoding

Top and Bottom Coding
localSupp

Local Suppression
distributeDraws_cpp

Distribute number of swaps
argus_microaggregation

argus_microaggregation
readMicrodata

readMicrodata
microaggrGower

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

argus_rankswap
summary.freqCalc

Summary method for objects from class freqCalc
nextSdcObj

nextSdcObj
createNewID

Creates new randomized IDs
addGhostVars

addGhostVars
createDat

Dummy Dataset for Record Swapping
distributeRandom_cpp

Distribute
calcRisks

Recompute Risk and Frequencies for a sdcMicroObj
removeDirectID

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

Global Recoding
localSuppression

Local Suppression to obtain k-anonymity
valTable

Comparison of different microaggregation methods
print.freqCalc

Print method for objects from class freqCalc.
recordSwap

Targeted Record Swapping
CASCrefmicrodata

Census data set
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.
IL_correl

Additional Information-Loss measures
orderData_cpp

Reorder data
sampleDonor_cpp

Random sample for donor records
sdcApp

sdcApp
print.pram

Print method for objects from class pram
addNoise

Adding noise to perturb data
generateStrata

Generate one strata variable from multiple factors
groupAndRename

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

microData
summary.micro

Summary method for objects from class micro
dUtility

Data-Utility measures
dataGen

Fast generation of synthetic data
randSample_cpp

Random Sampling
dRisk

overal disclosure risk
casc1

Small Artificial Data set
francdat

data from the casc project
free1

Demo data set from mu-Argus
print.modrisk

Print method for objects from class modrisk
selectHouseholdData

Creates a household level file from a dataset with a household structure.
plot.localSuppression

Plots for localSuppression objects
dRiskRMD

RMD based disclosure risk
shuffle

Shuffling and EGADP
measure_risk

Disclosure Risk for Categorical Variables
print.indivRisk

Print method for objects from class indivRisk
varToFactor

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

set.sdcMicroObj
extractManipData

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

Print method for objects from class suda2
freq

Freq
indivRisk

Individual Risk computation
plotMicro

Comparison plots
setRisk_cpp

Calculate Risk
setLevels_cpp

Define Swap-Levels
suda2

Suda2: Detecting Special Uniques
kAnon_violations

kAnon_violations
EIA

EIA data set
writeSafeFile

writeSafeFile
infoLoss

Calculate information loss after targeted record swapping
importProblem

importProblem
rankSwap

Rank Swapping
subsetMicrodata

subsetMicrodata
mafast

Fast and Simple Microaggregation
plot.sdcMicroObj

Plotfunctions for objects of class sdcMicroObj
pram

Post Randomization
Tarragona

Tarragona data set
microaggregation

Microaggregation
sdcMicro-package

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

Detection and winsorization of multivariate outliers
modRisk

Global risk using log-linear models.
print.micro

Print method for objects from class micro
show,sdcMicroObj-method

Show
summary.pram

Summary method for objects from class pram
testdata

A real-world data set on household income and expenditures
riskyCells

riskyCells
report

Generate an Html-report from an sdcMicroObj
sdcMicroObj-class

Class "sdcMicroObj"