get_ids_fishbase: Extract fishbase IDs using the package "rfishbase" to...

Description Usage Arguments Details Value Examples

View source: R/get-ids-fishbase.R

Description

This function extracts fishbase IDs using the database provided by the rfishbase package.

Usage

1

Arguments

fish

Vector of fish species with genus and species information.

Details

The function depends on the package "rfishbase" which creates a local copy of the fishbase database. The IDs are needed to generate URLs to scan www.fishbase.se for detailed informations about fish growth for example.

Value

named vector with species names and fishbase IDs.

Examples

1
2
fish <- c("Gadus morhua", "Merlangius merlangus", "Clupea harengus")
get_ids_fishbase(fish)

atlantistools documentation built on Aug. 16, 2017, 9:05 a.m.