Generate a full DQ report, v2
util_evaluate_calls(
all_calls,
study_data,
meta_data,
label_col,
meta_data_segment,
meta_data_dataframe,
meta_data_cross_item,
resp_vars,
filter_result_slots,
cores,
debug_parallel,
mode = c("default", "futures", "queue", "parallel"),
mode_args
)
a dataquieR_resultset2. Can be printed creating a RMarkdown-report.
list a list of calls
data.frame the data frame that contains the measurements
data.frame the data frame that contains metadata attributes of study data
variable attribute the name of the column in the metadata with labels of variables
data.frame -- optional: Segment level metadata
data.frame -- optional: Data frame level metadata
data.frame -- optional: cross-item level metadata
variable list the name of the measurement variables for the report.
character regular expressions, only if an indicator function's result's name matches one of these, it'll be used for the report. If of length zero, no filtering is performed.
integer number of cpu cores to use or a named list with arguments for parallelMap::parallelStart or NULL, if parallel has already been started by the caller. Can also be a cluster.
logical print blocks currently evaluated in parallel
character work mode for parallel execution. default is
"default", the values mean:
- default: use queue
except cores
has been set explicitly
- futures: use the future
package
- queue: use a queue as described in the examples
from the callr
package by Csárdi and Chang and start
sub-processes as workers that evaluate the queue.
- parallel: use the cluster from cores
to evaluate all
calls of indicator functions using the classic
R parallel
back-ends
list of arguments for the selected mode
. As of writing
this manual, only for the mode queue
the argument
step
is supported, which gives the number of
function calls that are run by one worker at a time.
the default is 15, which gives on most of the tested
systems a good balance between synchronization
overhead and idling workers.
Other reporting_functions:
util_alias2caption()
,
util_copy_all_deps()
,
util_create_page_file()
,
util_eval_to_dataquieR_result()
,
util_float_index_menu()
,
util_generate_anchor_link()
,
util_generate_anchor_tag()
,
util_generate_calls()
,
util_generate_calls_for_function()
,
util_load_manual()
,
util_make_data_slot_from_table_slot()
,
util_make_function()
,
util_order_by_order()
,
util_set_size()