View source: R/summary.dataquieR_resultset.R
summary.dataquieR_resultset | R Documentation |
Summarizes a dataquieR report extracting all GRADING results.
## S3 method for class 'dataquieR_resultset'
summary(
object,
aspect = c("issue", "applicability", "error"),
return_the_value = TRUE,
...
)
object |
dataquieR report. |
aspect |
what sort of issues to summarize |
return_the_value |
logical return the |
... |
not used yet. |
a data.frame with one row per variable and one column per GRADING
result. Each function providing a GRADING
conforming to the
standards is represented by a column. GRADING
expresses the
presence of a problem with 0 = no | 1 = yes
## Not run:
# runs spuriously slow on rhub
load(system.file("extdata/meta_data.RData", package = "dataquieR"), envir =
environment())
load(system.file("extdata/study_data.RData", package = "dataquieR"), envir =
environment())
report <- suppressWarnings(dq_report(
variables = head(meta_data[[LABEL]], 5),
study_data, meta_data,
cores = 1,
label_col = LABEL, dimensions =
c( # for sake of speed, omit Accuracy here
"Consistency")
))
x <- summary(report)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.