
Check Hierarchy Consistency
check_hierarchy_consistency.RdValidates that flat taxonomic columns match the hierarchy defined by id_parent. Returns taxa where the flat columns don't match their parent entries.
Examples
if (FALSE) { # \dontrun{
con <- call.mydb.taxa()
# Check for inconsistencies
issues <- check_hierarchy_consistency(con)
# Fix inconsistencies automatically
check_hierarchy_consistency(con, fix = TRUE)
} # }