test_data_string: Function to check the format of a string column

View source: R/IPDFilecheck.R

test_data_stringR Documentation

Function to check the format of a string column

Description

Function to check the format of a string column

Usage

test_data_string(data, column_name, nrcode = NA)

Arguments

data

data frame

column_name

the column name

nrcode

non response code corresponding to the column

Value

0, if success error, if failure

Examples

test_data_string(data.frame("Age" = c(21, 15), "Name" = c("John", "Dora")),
"name", -999)

sheejamk/IPDFileCheck documentation built on March 10, 2024, 3:14 p.m.