Learn R Programming

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

1,339

Version

5.7.8

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 11th, 2024

Functions in sdcMicro (5.7.8)

extractManipData

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

Distribute number of swaps
dRisk

overal disclosure risk
distributeRandom_cpp

Distribute
createDat

Dummy Dataset for Record Swapping
createNewID

Creates new randomized IDs
dUtility

Data-Utility measures
dRiskRMD

RMD based disclosure risk
francdat

data from the casc project
dataGen

Fast generation of synthetic data
globalRecode

Global Recoding
importProblem

importProblem
get.sdcMicroObj

get.sdcMicroObj
free1

Demo data set from mu-Argus
freq

Freq
generateStrata

Generate one strata variable from multiple factors
freqCalc

Frequencies calculation for risk estimation
IL_correl

Additional Information-Loss measures
groupAndRename

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

Calculate information loss after targeted record swapping
microaggrGower

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

kAnon_violations
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.
mafast

Fast and Simple Microaggregation
indivRisk

Individual Risk computation
localSuppression

Local Suppression to obtain k-anonymity
localSupp

Local Suppression
microData

microData
microaggregation

Microaggregation
measure_risk

Disclosure Risk for Categorical Variables
mvTopCoding

Detection and winsorization of multivariate outliers
nextSdcObj

nextSdcObj
orderData_cpp

Reorder data
plotMicro

Comparison plots
plot.localSuppression

Plots for localSuppression objects
plot.sdcMicroObj

Plotfunctions for objects of class sdcMicroObj
pram

Post Randomization
modRisk

Global risk using log-linear models.
print.indivRisk

Print method for objects from class indivRisk
print.freqCalc

Print method for objects from class freqCalc.
randSample_cpp

Random Sampling
readMicrodata

readMicrodata
print.sdcMicroObj

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

Targeted Record Swapping
print.modrisk

Print method for objects from class modrisk
print.pram

Print method for objects from class pram
print.localSuppression

Print method for objects from class localSuppression
print.micro

Print method for objects from class micro
print.suda2

Print method for objects from class suda2
recordSwap_cpp

Targeted Record Swapping
sdcApp

sdcApp
removeDirectID

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

Random sample for donor records
selectHouseholdData

Creates a household level file from a dataset with a household structure.
set.sdcMicroObj

set.sdcMicroObj
rankSwap

Rank Swapping
sdcMicro-package

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

riskyCells
report

Generate an Html-report from an sdcMicroObj
sdcMicroObj-class

Class "sdcMicroObj"
subsetMicrodata

subsetMicrodata
suda2

Suda2: Detecting Special Uniques
summary.freqCalc

Summary method for objects from class freqCalc
varToFactor

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

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

Show
testdata

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

Top and Bottom Coding
summary.pram

Summary method for objects from class pram
shuffle

Shuffling and EGADP
setLevels_cpp

Define Swap-Levels
writeSafeFile

writeSafeFile
setRisk_cpp

Calculate Risk
valTable

Comparison of different microaggregation methods
calcRisks

Recompute Risk and Frequencies for a sdcMicroObj
argus_microaggregation

argus_microaggregation
argus_rankswap

argus_rankswap
casc1

Small Artificial Data set
addNoise

Adding noise to perturb data
Tarragona

Tarragona data set
CASCrefmicrodata

Census data set
LocalRecProg

Local recoding via Edmond's maximum weighted matching algorithm
EIA

EIA data set
addGhostVars

addGhostVars