fish_names(fish.data = NULL, name = c("ScientificName", "Family", "Class", "Order"), path = NULL)
the names of the matching fish.
Return the scientific names, families, classes, or orders of the input data
data(fishbase) sex_swap <- which_fish("change sex", using="lifecycle", fish.data) africa <- which_fish("Africa", using="distribution", fish.data) fish_names(fish.data[africa & sex_swap])[1] "Epinephelus aeneus" "Pseudanthias squamipinnis" [3] "Gobiodon rivulatus"