check_b_coding: Check a B_Coding

View source: R/core_dm.R

check_b_codingR Documentation

Check a B_Coding

Description

Checks if a list satisfies the requirements to be considered a valid b_coding

Usage

check_b_coding(b_coding)

Arguments

b_coding

a named list

Details

Checks for...

  • input being a list

  • list is of length three and provides the names "column", "u_name_value", "l_name_value",

  • if b_coding$column provides a single string

  • if b_coding$u_name_value and b_coding$l_name_value provides a single named value of type character or numeric, and that both are of the same type

Value

the unmodified list for convenience


dRiftDM documentation built on April 3, 2025, 7:48 p.m.