Nice post. You can save a traversal by combining
NestTree
followed by
TreeMap
into a single
NestTree
:
In[]:=
NestTree
child taxa
,
mackerel sharks
SPECIES SPECIFICATION
,3,
name

Out[]=
In[]:=
TreeMap
name
@NestTree
child taxa
,
mackerel sharks
SPECIES SPECIFICATION
,3
Out[]=