Filter TECP_table to return only species from a given taxonomic group

filter_taxa(df, group = c())

Arguments

df
A data.frame derived from get_TECP_links
group
One or more of
  • Amphibians
  • Arachnids
  • Birds
  • Clams
  • Conifers and Cycads
  • Corals
  • Crustaceans
  • Ferns and Allies
  • Fishes
  • Flowering Plants
  • Insects
  • Lichens
  • Mammals
  • Reptiles
  • Snails
patterns
A list of additional patterns to be filtered out

Value

A data.frame containing only species from the selected taxa

Details

Expects a data.frame from get_TECP_table. The df may have already passed through another filter (e.g., filter_domestic), but must contain the variable Species_Group.