Last chance! 50% off unlimited learning
Sale ends in
diet
diet(species_list = NULL, fields = NULL, server = NULL, ...)
A vector of scientific names (each element as "genus species"). If empty, a table for all fish will be returned.
a character vector specifying which fields (columns) should be returned. By default, all available columns recognized by the parser are returned. Mostly for backwards compatibility as users can subset by column later
can be set to either "fishbase" or "sealifebase" to switch between databases. NOTE: it is usually easier to leave this as NULL and set the source instead using the environmental variable `FISHBASE_API`, e.g. `Sys.setenv(FISHBASE_API="sealifebase")`.
unused; for backwards compatibility only
a table of species diet
http://www.fishbase.org/manual/english/fishbasethe_diet_table.htm
# NOT RUN {
diet("Oreochromis niloticus")
# }
Run the code above in your browser using DataLab