check_variable_names: Function checks IRK recoding dictionary

Description Usage Arguments Value

Description

Function checks if all required variables in IRK recoding dictionary are present.

Usage

1
check_variable_names(x, requiredNames, xDescription = "ramce danych")

Arguments

x

data frame to be checked

requiredNames

character vector containing names of variables that are required in a checked data frame

xDescription

optionally a string describing x in a user-friendly way, used to construct an error message that is thrown thrown if some of required variables are not found

Value

An error message if any variable is missing


ZajacT/ASIA1 documentation built on May 30, 2019, 4 p.m.