util_generate_pages_from_report: Convert a dataquieR report v2 to a named list of web pages

View source: R/util_generate_pages_from_report.R

util_generate_pages_from_reportR Documentation

Convert a dataquieR report v2 to a named list of web pages

Description

Convert a dataquieR report v2 to a named list of web pages

Usage

util_generate_pages_from_report(
  report,
  template,
  disable_plotly,
  progress = progress,
  progress_msg = progress_msg,
  block_load_factor,
  dir
)

Arguments

report

dataquieR report v2.

template

character template to use, only the name, not the path

disable_plotly

logical do not use plotly, even if installed

progress

function lambda for progress in percent – 1-100

progress_msg

function lambda for progress messages

block_load_factor

numeric multiply size of parallel compute blocks by this factor.

dir

character output directory for potential iframes.

Value

named list, each entry becomes a file with the name of the entry. the contents are HTML objects as used by htmltools.

See Also

Other html: util_extract_all_ids()

Examples

## Not run: 
devtools::load_all()
prep_load_workbook_like_file("meta_data_v2")
report <- dq_report2("study_data", dimensions = NULL, label_col = "LABEL");
save(report, file = "report_v2.RData")
report <- dq_report2("study_data", label_col = "LABEL");
save(report, file = "report_v2_short.RData")

## End(Not run)


dataquieR documentation built on May 29, 2024, 7:18 a.m.