
Update Taxon Parent (with consistency check)
update_taxon_parent.RdSafely updates a taxon's parent (id_parent) while maintaining consistency with flat taxonomic columns. This is the SAFE way to modify hierarchy.
Examples
if (FALSE) { # \dontrun{
con <- call.mydb.taxa()
# Move species to different genus (updates both id_parent and tax_gen)
update_taxon_parent(
idtax_n = 12345,
new_parent_id = 67890,
con = con
)
} # }