Description Usage Arguments Value
View source: R/get_trophic_level.R
The trophic level will be obtained for each scientific name provided. Search will be in fishbase for vertibrates and sealifebase for invertibrates. Two fields are accessed from the ecology table, FoodTroph and DietTroph. See fishbase for more details (http://fishbase.us/manual/English/FishbaseThe_ECOLOGY_Table.htm)
1 | get_trophic_level(lookupTable)
|
lookupTable |
dataframe. Any size. One column must be called SCIENTIFIC_NAME. Each row of the table will be cross referenced with fishbase |
Tibble. The same columns as lookupTable
but with following additional columns.
genusSpecies |
TRUE if species name is genus species, otherwise FALSE |
DietTroph |
Value from DietTroph field in fishbase ecology table |
FoodTroph |
Value from FoodTroph field in fishbase ecology table |
vertibrate |
TRUE if species found in fishbase, FALSE if found in sealifebase, NA if not found |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.