50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

rfishbase (version 3.0.4)

validate_names: validate_names

Description

Check for alternate versions of a scientific name and return the scientific names FishBase recognizes as valid

Usage

validate_names(species_list, server = NULL, ...)

Arguments

species_list

A vector of scientific names (each element as "genus species"). If empty, a table for all fish will be returned.

server

can be set to either "fishbase" or "sealifebase" to switch between databases. NOTE: it is usually easier to leave this as NULL and set the source instead using the environmental variable `FISHBASE_API`, e.g. `Sys.setenv(FISHBASE_API="sealifebase")`.

...

unused; for backwards compatibility only

Value

a string of the validated names

Examples

Run this code
# NOT RUN {
validate_names("Abramites ternetzi")
# }

Run the code above in your browser using DataLab