whatFish: Names and codes for fish species

Description Usage Arguments Details Value Author(s) Examples

Description

Functions to convert the scientific name, English name, the FAO X3A codes and the WoRMS AphiaIDs of fish species and taxonomic groupings.

Usage

1
whatFish(x, scientific = "WoRMS")

Arguments

x

A character vector of the Scientific name, the English name or the X3A code for the fish

scientific

The form of the Scientific name to search on and return, options are "WoRMS" or "FAO", see Details

Details

The rendering of the Scientific name of the organism differs slightly between the FAO and WoRMS lists. By default the function searches and returns the WoRMS scientific name.

Value

Returns a list of the the Scientific name, English name, the X3A code and the AphiaID, regardless of which of these it is passed.

Author(s)

Alastair Pout a.pout@marlab.ac.uk

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# the Scientific name
whatFish("Gadus morhua")

# the FAO code
whatFish("POK")

# the WoRMS code
whatFish("127146")

# the English name
whatFish("Norway lobster")

MarineScotlandScience/fishPiCodes documentation built on Dec. 17, 2021, 3:12 a.m.