Description Usage Arguments Value
View source: R/pedigree_consistency_checks_tbl_df.R
Birthdates in pedigree ptblPedigree are validated, assuming that they are in numeric format as YYYYMMDD. In case the birthdate is read as character, it first gets converted to a numeric value. For each part of the date (year, month and day), there are constant limits defined. Whenever a validation fails, the date is set to NA.
1 2 | check_birthdate_tbl(ptblPedigree, lLimitValue = getBirthdayConsistencyLimit(),
pnBirthdateColIdx = getBirthdateColIdxDsch())
|
ptblPedigree |
pedigree in tbl_df format |
lLimitValue |
list with fixed limits for year, month and date |
pnBirthdateColIdx |
column index of birthdates in ptblPedigree |
validated and modified tbl_df pedigree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.