build_errors: Builds a dataframe of errors

Description Usage Arguments Value

View source: R/data_check.R

Description

build_errors builds a dataframe of errors as used by the function check_data.

Usage

1
build_errors(rows, pers_id, vals, column, description, importance)

Arguments

rows

a vector of numbers representing the rows which contain an error

pers_id

a vector of strings of the personal ID which contain an error

vals

a vector of the erroneous values

column

the name of the column containing the error

description

the description of the error occurring

importance

the importance of the error occurring

Value

a dataframe of errors with the columns column, description, importance


logib documentation built on Nov. 21, 2021, 9:08 a.m.