get_species | R Documentation |
This function accesses the api endpoint to for Species list available in Common. Only the fields spc, spc_nmco, spc_nmsc and species_at_risk are returned unless detail=TRUE is specified in the filter_list. The optional filter list can be used to return species based on part of their common or scientific name.
get_species(filter_list = list(), to_upper = TRUE)
filter_list |
list |
to_upper |
|
See https://intra.glis.mnr.gov.on.ca/common/api/v1/swagger/ and filter by "species" for the full list of available filter keys (query parameters)
See https://intra.glis.mnr.gov.on.ca/common/species/ for the full list of fish species
dataframe
Adam Cottrill adam.cottrill@ontario.ca
species <- get_species()
trout <- get_species(list(spc_nmco__like = "trout"))
goby <- get_species(list(spc = 366, detail = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.