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.

Online documentation

Copy Link

Version

Install

install.packages('sdcMicro')

Monthly Downloads

1,175

Version

5.6.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

July 26th, 2021

Functions in sdcMicro (5.6.1)

dataGen

Fast generation of synthetic data
extractManipData

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

addGhostVars
addNoise

Adding noise to perturb data
dRiskRMD

RMD based disclosure risk
kAnon_violations

kAnon_violations
IL_correl

Additional Information-Loss measures
dUtility

Data-Utility measures
argus_microaggregation

argus_microaggregation
importProblem

importProblem
indivRisk

Individual Risk computation
plot.sdcMicroObj

Plotfunctions for objects of class sdcMicroObj-class
plotMicro

Comparison plots
LocalRecProg

Local recoding via Edmond's maximum weighted matching algorithm
CASCrefmicrodata

Census data set
calcRisks

Recompute Risk and Frequencies for a sdcMicroObj
casc1

Small Artificial Data set
argus_rankswap

argus_rankswap
Tarragona

Tarragona data set
print.suda2

Print method for objects from class suda2
nextSdcObj

nextSdcObj
localSuppression

Local Suppression to obtain k-anonymity
localSupp

Local Suppression
rankSwap

Rank Swapping
subsetMicrodata

subsetMicrodata
EIA

EIA data set
shuffle

Shuffling and EGADP
free1

Demo data set from mu-Argus
francdat

data from the casc project
createNewID

Creates new randomized IDs
generateStrata

Generate one strata variable from multiple factors
get.sdcMicroObj

get.sdcMicroObj
modRisk

Global risk using log-linear models.
microaggrGower

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

Detection and winsorization of multivariate outliers
readMicrodata

readMicrodata
globalRecode

Global Recoding
print.micro

Print method for objects from class micro
print.modrisk

Print method for objects from class modrisk
dRisk

overal disclosure risk
plot.localSuppression

plot method for localSuppression objects
sdcApp

sdcApp
freq

Freq
microaggregation

Microaggregation
summary.micro

Summary method for objects from class micro
removeDirectID

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

Frequencies calculation for risk estimation
summary.pram

Summary method for objects from class pram
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.
microData

microData
sdcMicro-package

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

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

Top and Bottom Coding
groupAndRename

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

Post Randomization
print.pram

Print method for objects from class pram
print.freqCalc

Print method for objects from class freqCalc.
mafast

Fast and Simple Microaggregation
print.sdcMicroObj

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

Suda2: Detecting Special Uniques
summary.freqCalc

Summary method for objects from class freqCalc
measure_risk

Disclosure Risk for Categorical Variables
print.localSuppression

Print method for objects from class localSuppression
print.indivRisk

Print method for objects from class indivRisk
report

Generate an Html-report from an sdcMicroObj
riskyCells

riskyCells
selectHouseholdData

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

Comparison of different microaggregation methods
sdcMicroObj-class

Class "sdcMicroObj"
varToFactor

Change the a keyVariable of an object of class sdcMicroObj-class from Numeric to Factor or from Factor to Numeric
show,sdcMicroObj-method

Show
set.sdcMicroObj

set.sdcMicroObj
writeSafeFile

writeSafeFile