get_taxon_table: Get taxon table - A list of fish and non-fish species and...

View source: R/get_taxon_table.R

get_taxon_tableR Documentation

Get taxon table - A list of fish and non-fish species and their ITIS taxon code

Description

This function accesses the api endpoint for taxon records of fish and non-fish species. These records include the ITIS code, common name, scientific name, taxonomic rank, vert/invert classification, and HHFAU code (if applicable). Different taxonomic ranks allow selection of a taxon at different levels of specificity (e.g. 'Turtles/Testudines' vs. 'Eastern painted turtle').

Usage

get_taxon_table(filter_list = list(), to_upper = TRUE)

Arguments

filter_list

list

to_upper
  • should the names of the dataframe be converted to upper case?

Details

Current filter parameters are 'taxon', 'itiscode', 'taxon_name', 'taxon_label', 'taxonomic_rank', 'vertinvert', and 'omnr_provincial_code'.

See https://intra.glis.mnr.gov.on.ca/common/api/v1/swagger/ and filter by "taxon" for the full list of available filter keys (query parameters)

See https://intra.glis.mnr.gov.on.ca/common/taxon/ for the full list of taxon codes

Value

dataframe

Author(s)

Rachel Henderson rachel.henderson@ontario.ca

Examples


taxa_list <- get_taxon_table()
order_list <- get_taxon_table(list(taxonomic_rank = "order"))

AdamCottrill/glfishr documentation built on Aug. 9, 2024, 5:47 p.m.