Skip to contents

This function takes species, group of species or common names as arguments and returns a data frame containing weigth-length parameters from FishBase database.

Usage

get_fish_length(taxa, rank = NULL, country_code = NULL)

Arguments

taxa

The name of the species/groups from which retrieve lengths parameters.

rank

The taxonomical ranking, can be Species, Genus, Family, or comm_name. The latter is an abbreviation for the common name of a species/group.

country_code

The code of the country associated to FishBase database, default code include Timor-Leste and Indonesia. Full list at https://www.fishbase.se/country/ListOfCountryCodes.php.

Value

A data frame containing species length parameters

Examples

if (FALSE) { # \dontrun{
get_fish_length(
  taxa = "Sardine", rank = "comm_name",
  country_code = 626
)
} # }