load_module_timing: Functions for loading data. Load module timing information...

Description Usage Arguments Value Examples

View source: R/loading_data.R

Description

Open the specified TimeTracker database file, and read the module-by-module, event-by-event timing information. If lbl is non-NULL, the returned dataframe will contain a column named lbl, containing the user-supplied label. The intent is that this label allows many such dataframes, each with a distinct label, to be concatenated with dplyr::rbind_rows or rbind, and used for comparitive analysis.

Usage

1
load_module_timing(filename, lbl = NULL, include_source = FALSE)

Arguments

filename

The name of the TimeTracker database file to open.

lbl

The label to be applied to each row in the dataframe. Default is NULL, in which cade no label is added.

include_source

if TRUE, the timing for the source module is included

Value

a dataframe

Examples

1
2
3
4
5
6
## Not run: 
d1 <- load_module_timing("woof/timing.db", "woof")
d2 <- load_module_timing("lsd6/timing.db", "lsd6")
d3 = rbind(d1, d2)

## End(Not run)

marcpaterno/artsupport documentation built on May 6, 2020, 1:46 a.m.