get_fish_length: Download species body-length parameters

View source: R/calculate-weights.R

get_fish_lengthR Documentation

Download species body-length parameters

Description

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

## Not run: 
get_fish_length(
  taxa = "Sardine", rank = "comm_name",
  country_code = 626
)

## End(Not run)

WorldFishCenter/peskas.timor.data.pipeline documentation built on April 14, 2025, 1:47 p.m.