bdchecks (version 0.1.7)

DC_individualcountInvalid: Data check individualcountInvalid Check if the number of individuals represented present at the time of the occurrence is and intiger

Description

This data check answers: "?" question. Data check will pass if The count of individuals is a valid integer and will fail if The count of individuals is not an integer and therefore invalid. Dimension of this data check is Conformance and it's flagging type is: FLAG Example of entries that will pass: individualCount=1, such data check would return Passed. Example of entries that will fail: individualCount=0.3,individualCount=-1,individualCount=0, such data check would return Failed.

Arguments

Format

An object of class "dataCheck", see dataCheck for details.

samplePassData

The count of individuals is a valid integer

sampleFailData

The count of individuals is not an integer and therefore invalid

targetDWCField

individualCount

checkCategory

Occurrence

References

None

Examples

Run this code
# NOT RUN {
performDC(DC = DC_individualcountInvalid, DATA = bdchecks::dataBats)
# }

Run the code above in your browser using DataCamp Workspace