get_trophic_level.Rd
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)
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.
TRUE if species name is genus species, otherwise FALSE
Value from DietTroph field in fishbase ecology table
Value from FoodTroph field in fishbase ecology table
TRUE if species found in fishbase, FALSE if found in sealifebase, NA if not found