sdcMicro (version 4.1.0)

report: Generate a HTML/LATEX output from an sdcMicroObj

Description

Summary statistics of the original and the perturbed data set

Usage

report(obj, outdir=getwd(),filename="SDC-Report",format="HTML",title='SDC-Report',
  internal=FALSE)

Arguments

obj
an object of class 'sdcMicroObj' or 'reportObj'
outdir
output folder
filename
output filename
format
HTML, TEXT or LATEX
title
Title for the report
internal
TRUE/FALSE, if TRUE a detailled internal report is produced, else a non-disclosive overview

Details

The application of this function provides you with a html, text or pdf-report for your sdcMicro object that contains useful summaries about the anonymization process.

Examples

Run this code
data(testdata2)
sdc <- createSdcObj(testdata2,
  keyVars=c('urbrur','roof','walls','water','electcon','relat','sex'), 
  numVars=c('expend','income','savings'), w='sampling_weight')
report(sdc)

Run the code above in your browser using DataLab