species_names {rfishbase} | R Documentation |
species names
Description
returns species names given FishBase's SpecCodes
Usage
species_names(
codes,
server = getOption("FISHBASE_API", "fishbase"),
version = get_latest_release(),
db = default_db()
)
Arguments
codes |
a vector of speccodes (e.g. column from a table) |
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")'. |
version |
a version string for the database, will default to the latest release. see [get_releases()] for details. |
db |
the |
Value
A character vector of species names for the SpecCodes
[Package rfishbase version 4.1.2 Index]