build_errors: Builds a dataframe of errors

View source: R/data_check.R

build_errorsR Documentation

Builds a dataframe of errors

Description

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

Usage

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


JLDC/logib documentation built on Jan. 12, 2025, 4:13 p.m.