validate (version 1.1.5)

lbj_cells-class: Logging object to use with the lumberjack package

Description

Logging object to use with the lumberjack package

Arguments

Format

A reference class object

Methods

add(meta, input, output)

Add logging info based on in- and output

dump(file = NULL, verbose = TRUE, ...)

Dump logging info to csv file. All arguments in '...' except row.names are passed to 'write.csv'

initialize(..., verbose = TRUE, label = "")

Create object. Optionally toggle verbosity.

log_data()

Return logged data as a data.frame

Details

This obeject can used with the function composition ('pipe') operator of the lumberjack package. The logging is based on validate's cells function. The output is written to a csv file wich contains the following columns.

stepintegerStep number
timePOSIXctTimestamp
exprcharacterExpression used on data
cellsintegerTotal nr of cells in dataset
availableintegerNr of non-NA cells
missingintegerNr of empty (NA) cells
still_availableintegerNr of cells still available after expr
unadaptedintegerNr of cells still available and unaltered
unadaptedintegerNr of cells still available and altered
imputedintegerNr of cells not missing anymore

See Also

Other loggers: lbj_rules-class