diet: diet

dietR Documentation

diet

Description

diet

Usage

diet(
  species_list = NULL,
  fields = NULL,
  server = c("fishbase", "sealifebase"),
  version = "latest",
  db = NULL,
  ...
)

Arguments

species_list

A vector of scientific names (each element as "genus species"). If empty, a table for all fish will be returned.

fields

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

server

Either "fishbase" or "sealifebase".

version

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

db

database connection, now deprecated.

...

additional arguments, currently ignored

Value

a table of species diet

References

http://www.fishbase.org/manual/english/fishbasethe_diet_table.htm

Examples


## Not run: 
diet()

## End(Not run)


ropensci/rfishbase documentation built on Aug. 31, 2024, 6:01 p.m.