Learn R Programming

qualitycontrol (version 0.1.0)

qc_data: QC dataset using a specific variable mapping

Description

QC dataset using a specific variable mapping

Usage

qc_data(data, qc_mapping, output_file = NULL)

Value

A data frame containing all the findings.

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.

Examples

Run this code
qc_data(als_data, als_data_qc_mapping)

Run the code above in your browser using DataLab