common_names: common names

View source: R/common_names.R

common_namesR Documentation

common names

Description

Return a table of common names

Usage

common_names(
  species_list = NULL,
  server = c("fishbase", "sealifebase"),
  version = "latest",
  db = NULL,
  Language = "English",
  fields = 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

Either "fishbase" or "sealifebase".

version

a version string for the database. See available_releases() for details.

db

database connection, now deprecated.

Language

a string specifying the language for the common name, e.g. "English"

fields

subset to these columns. (recommend to omit this and handle manually)

Details

Note that there are many common names for a given sci name

Value

a data.frame of common names by species queried. If multiple species are queried, The resulting data.frames are concatenated.

Examples


common_names("Bolbometopon muricatum")


rfishbase documentation built on Sept. 11, 2024, 8:12 p.m.