lbj_cells-class | R Documentation |
Logging object to use with the lumberjack package
A reference class object
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
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.
step | integer | Step number |
time | POSIXct | Timestamp |
expr | character | Expression used on data |
cells | integer | Total nr of cells in dataset |
available | integer | Nr of non-NA cells |
missing | integer | Nr of empty (NA) cells |
still_available | integer | Nr of cells still available after expr |
unadapted | integer | Nr of cells still available and unaltered |
unadapted | integer | Nr of cells still available and altered |
imputed | integer | Nr of cells not missing anymore |
This logger is suited only for operations that do not change the dimensions of the dataset.
Other loggers:
lbj_rules-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.