Description Usage Arguments Value
The function ensure the missing value is correctly specified
1 2 3 | ensureCorrectMissingValue(data, valueVar = "Value",
flagObservationStatusVar = "flagObservationStatus",
missingObservationFlag = "M", returnData = TRUE, getInvalidData = FALSE)
|
data |
The data to be saved back to the database. |
valueVar |
The variable to be tested. |
flagObservationStatusVar |
The flag associated with the value. |
missingObservationFlag |
The value of the observation status flag which represents missing value. |
returnData |
logical, whether the data should be returned |
getInvalidData |
logical, this will skip the test and extract the data that is invalid. |
If getInvalidData is FALSE, then the data is returned when the test is cleared, otherwise an error. If getInvalidData is TRUE, then the subset of the data that is invalid is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.