qc_data: QC dataset using a specific variable mapping

qc_dataR Documentation

QC dataset using a specific variable mapping

Description

QC dataset using a specific variable mapping

Usage

qc_data(data, qc_mapping, output_file = NULL)

Arguments

data

A data frame, data frame extension (e.g. a tibble) to be quality controlled.

qc_mapping

A list of data frame or data frame extension (e.g. a tibble) specifying the tests. Each data frame row represents a test to the data.

output_file

(optional) File path ended in .xlsx or .xls. If is not null, findings table to be written to this path.

Value

A data frame containing all the findings.

Examples

qc_data(als_data, als_data_qc_mapping)

qualitycontrol documentation built on Nov. 28, 2022, 5:17 p.m.