R/functions.R
get_taxon_children.Rd
Queries the taxonomy table to find all child taxa of a given taxonID, using a recursive CTE. Returns a tibble with taxon details and depth levels.
get_taxon_children(taxonID, con, authority = "worms")
Character string of the parent taxonID to query
DuckDB database connection object
Character string specifying the taxonomic authority (default: "worms")