validateCohortArgument {omopgenerics} | R Documentation |
Validate a cohort table input.
Description
Validate a cohort table input.
Usage
validateCohortArgument(
cohort,
checkEndAfterStart = FALSE,
checkOverlappingEntries = FALSE,
checkMissingValues = FALSE,
checkInObservation = FALSE,
dropExtraColumns = FALSE,
validation = "error",
call = parent.frame()
)
Arguments
cohort |
Object to be validated as a valid cohort input. |
checkEndAfterStart |
If TRUE a check that all cohort end dates come on or after cohort start date will be performed. |
checkOverlappingEntries |
If TRUE a check that no individuals have overlapping cohort entries will be performed. |
checkMissingValues |
If TRUE a check that there are no missing values in required fields will be performed. |
checkInObservation |
If TRUE a check that cohort entries are within the individuals observation periods will be performed. |
dropExtraColumns |
Whether to drop extra columns that are not the required ones. |
validation |
How to perform validation: "error", "warning". |
call |
A call argument to pass to cli functions. |
[Package omopgenerics version 0.4.1 Index]