R/get-ids-fishbase.R
get_ids_fishbase.Rd
This function extracts fishbase IDs using the database provided by the rfishbase
package.
get_ids_fishbase(fish)
fish | Vector of fish species with genus and species information. |
---|
named vector with species names and fishbase IDs.
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.
#> Gadus morhua Merlangius merlangus Clupea harengus #> 69 29 24