I’m looking for a solution to accurately getting all (more distant-descendend) children of any given parent rank. E.g. it would yield all genera that appear within the order Cetacea (whale), or every species.
This is the closest that I’ve come up with:
This would yield 57 species bird of paradise within the family Paradisaeidae. So it mostly works, except that it also gives me 6 Arachnida (class, of the phylum Arthropoda). I’ve solved this by looping the results through a condition that checks whether the family is Paradisaeidae.
Nontheless, what I’m looking for is a “cleaner” search, where within the GBIF backbone DB it would simply give me every child of the tree (or whatever the datastructure is) of any lower rank I want, like all genera within an order, or all species of a family.
Thank you and kind regards