Learn R Programming

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

sdcMicro

Readme for R-Package sdcMicro

Copy Link

Version

Install

install.packages('sdcMicro')

Monthly Downloads

685

Version

5.0.2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Matthias Templ

Last Published

May 24th, 2017

Functions in sdcMicro (5.0.2)

casc1

Small Artificial Data set
createNewID

Creates new randomized IDs
CASCrefmicrodata

Census data set
EIA

EIA data set
addNoise

Adding noise to perturb data
calcRisks

Recompute Risk and Frequencies for a sdcMicroObj
extractManipData

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

data from the casc project
groupAndRename

importProblem

importProblem
Tarragona

Tarragona data set
addGhostVars

addGhostVars
dUtility

data utility
LLmodGlobalRisk

Global risk using log-linear models.
LocalRecProg

Local recoding via Edmond's maximum weighted matching algorithm
dRisk

overal disclosure risk
dRiskRMD

RMD based disclosure risk
get.sdcMicroObj

get.sdcMicroObj
globalRecode

Global Recoding
microaggregation

Microaggregation
plot.sdcMicroObj

plotMicro

Comparison plots
print.micro

Print method for objects from class micro
print.modrisk

Print method for objects from class modrisk
free1

Demo data set from mu-Argus
freq

Freq
measure_risk

Disclosure Risk for Categorical Variables
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.
dataGen

Fast generation of synthetic data
indivRisk

Individual Risk computation
localSupp

Local Suppression
microData

microData
subsetMicrodata

subsetMicrodata
suda2

Suda2: Detecting Special Uniques
summary.freqCalc

Summary method for objects from class freqCalc
pram

Post Randomization
print.freqCalc

Print method for objects from class freqCalc.
print.suda2

Print method for objects from class suda2
rankSwap

Rank Swapping
summary.micro

Summary method for objects from class micro
modRisk

Global risk using log-linear models.
report

Generate an Html-report from an sdcMicroObj
sdcApp

sdcApp
topBotCoding

Top and Bottom Coding
valTable

Comparison of different microaggregation methods
sampleCat

Microaggregation for numerical and categorical key variables based on a distance similar to the GOWER DISTANCE
print.pram

Print method for objects from class pram
print.sdcMicroObj

selectHouseholdData

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

set.sdcMicroObj
varToFactor

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

writeSafeFile
freqCalc

Frequencies calculation for risk estimation
generateStrata

Generate one strata variable from multiple factors
nextSdcObj

nextSdcObj
localSuppression

Local Suppression to obtain k-anonymity
mafast

Fast and Simple Microaggregation
readMicrodata

readMicrodata
removeDirectID

Remove certain variables from the data set inside a sdc object.
sdcMicro-package

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

Class "sdcMicroObj"
plot.localSuppression

plot method for localSuppression objects
print.indivRisk

Print method for objects from class indivRisk
print.localSuppression

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

Show
shuffle

Shuffling and EGADP
summary.pram

Summary method for objects from class pram
testdata

A real-world data set on household income and expenditures