dq_report_by {dataquieR}R Documentation

Generate a stratified full DQ report

Description

Generate a stratified full DQ report

Usage

dq_report_by(
  study_data,
  meta_data,
  label_col,
  meta_data_split = KEY_STUDY_SEGMENT,
  study_data_split,
  ...
)

Arguments

study_data

data.frame the data frame that contains the measurements

meta_data

data.frame the data frame that contains metadata attributes of study data

label_col

variable attribute the name of the column in the metadata with labels of variables

meta_data_split

variable attribute name of a meta data attribute to split the report in sections of variables, e.g. all blood- pressure. By default, reports are split by KEY_STUDY_SEGMENT if available.

study_data_split

variable Name of a study variable to stratify the report by, e.g. the study centers.

...

passed through to dq_report

See Also

dq_report

Examples

## Not run:  # really long-running example.
load(system.file("extdata", "study_data.RData", package = "dataquieR"))
load(system.file("extdata", "meta_data.RData", package = "dataquieR"))
rep <- dq_report_by(study_data, meta_data, label_col =
  LABEL, study_data_split = "CENTER_0")
rep <- dq_report_by(study_data, meta_data,
  label_col = LABEL, study_data_split = "CENTER_0",
  meta_data_split = NULL
)

## End(Not run)

[Package dataquieR version 1.0.5 Index]