Learn R Programming

sms (version 2.3.1)

checkIfNamesInDataColumns: checkIfNamesInDataColumns

Description

Check the integrisy of the data Lexicon

Usage

checkIfNamesInDataColumns(names, incensus, insurvey)

Arguments

names
A vector with names to check if they exist as column names in the data (census and survey)
incensus
The census data
insurvey
The survey data

Value

anumber If both names are valid then it return '1' else if the names are not valid data column names, it returns '0'.