qc_data {qualitycontrol}R 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)

[Package qualitycontrol version 0.1.0 Index]