bdc_summary_col {bdc}R Documentation

Create or update the column summarizing the results of data quality tests

Description

This function creates or updates the column ".summary" summarizing the results of data quality tests (i.e., columns starting with "."). Records that have failed in at least one test are flagged for further inspection (i.e., flagged as "FALSE") in the ".summary" column.

Usage

bdc_summary_col(data)

Arguments

data

data.frame. Containing the results of data quality tests (i.e., columns starting with ".").

Details

If existing, the column ".summary" will be removed and then updated considering all test names available in the supplied database.

Value

A data.frame containing a new or an updated column ".summary".

Examples

.missing_names <- c(TRUE, TRUE, TRUE, FALSE, FALSE)
.missing_coordinates <- c(TRUE, FALSE, FALSE, TRUE, FALSE)
x <- data.frame(.missing_names, .missing_coordinates)

bdc_summary_col(data = x)


[Package bdc version 1.1.4 Index]