testDataString

Function to check the format of a string column

Function to check the format of a string column

Usage
testDataString(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 -1, if failure

Aliases
  • testDataString
Examples
# NOT RUN {
testDataString(data.frame("Age" = c(21,15), "Name" = c("John","Dora")),"name",-999)
# }
Documentation reproduced from package IPDFileCheck, version 0.3.0, License: CC0

Community examples

Looks like there are no examples yet.