# Count number of subtaxa in each taxon
subtaxa_apply(ex_taxmap, length)
# Paste all the subtaxon names for each taxon
subtaxa_apply(ex_taxmap, value = "taxon_names",
recursive = FALSE, paste0, collapse = ", ")
Run the code above in your browser using DataLab