mosaic.createSimplePdfCategorical: createSimplePdfCategorical

Description Usage Arguments Note Author(s) Examples

View source: R/mosaic_en_v1.2.r

Description

Create simple PDF-file for categorical data

Usage

1
mosaic.createSimplePdfCategorical(inputfile, outputfolder)

Arguments

inputfile

path to input csv-file

outputfolder

path to output folder

Note

Function call type: user

Author(s)

The MOSAIC Project, Martin Bialke

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# load MOSAIC package
library('mosaicQA')

# specify the import file with categorial data
# first row has to contain variable names without special characters
categorial_datafile='c:/mosaic/cat_single_var_en.csv'

# specify output folder
outputFolder='c:/mosaic/outputs/'

# set treshold to detect missings, default is 99900 (adjust this line to change this global value, 
# but be careful)
mosaic.setGlobalMissingTreshold(99900)

# set description of var
mosaic.setGlobalCodelist(c('1=yes','2=no','99996=not specified','99997=not acquired'))

# create simple pdf file foreach variable column in categorial data file, uncomment to start 
# report-generation
# mosaic.createSimplePdfCategorical(categorial_datafile,outputFolder)

mosaicQA documentation built on May 30, 2017, 5:48 a.m.