Description Usage Arguments Value Examples
View source: R/ReadingDatFiles.R
LOWER LEVEL FUNCTION - Not meant to be called on its own.
Preforms various checks on the header to assure the .dat file meets specifications The following checks are preformed:
Checks that there is only one valid header in the .dat file
The header flag is equal to 'Y'
Returned surveys are less than or equal to the number distributed
Returned surveys are less than or equal the number of total employees
Distributed surveys are less than or equalt to the number of total employees - exempted employees
1 | validate.dat.header(Header)
|
Header |
a valid header returned from the |
Returns TRUE if it passes validation and an error message if it does not
1 | validate.dat.header(read.dat.header("c:/example/example/datfile.dat"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.