ecology | R Documentation |
ecology
ecology(
species_list = NULL,
fields = NULL,
server = c("fishbase", "sealifebase"),
version = "latest",
db = NULL,
...
)
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 |
db |
database connection, now deprecated. |
... |
additional arguments, currently ignored |
By default, will only return one entry (row) per species. Increase limit to get multiple returns for different stocks of the same species, though often data is either identical to the first or simply missing in the additional stocks.
a table of species ecology data
http://www.fishbase.org/manual/english/fishbasethe_ecology_table.htm
## Not run:
ecology("Oreochromis niloticus")
## trophic levels and standard errors for a list of species
ecology(c("Oreochromis niloticus", "Salmo trutta"),
fields=c("SpecCode", "FoodTroph", "FoodSeTroph", "DietTroph", "DietSeTroph"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.