# \donttest{
# Retrieve hierarchy for a single AphiaID
try(get_worms_taxonomy_tree(aphia_ids = 109604, verbose = FALSE))
# Retrieve hierarchy including species-level descendants
try(get_worms_taxonomy_tree(
aphia_ids = c(109604, 376667),
add_descendants = TRUE,
verbose = FALSE
))
# Retrieve hierarchy including hierarchy column
try(get_worms_taxonomy_tree(
aphia_ids = c(109604, 376667),
add_hierarchy = TRUE,
verbose = FALSE
))
# }
Run the code above in your browser using DataLab