View source: R/species_nutrients.R
species_nutrients | R Documentation |
Get nutritional information for aquatic animals from the Aquatic Foods Composition Database. This function uses the hierarchical approach described in Golden et al 2021, where nutritional content is assigned based on the closest taxa possible.
species_nutrients(sci_name, prep, part, nut)
sci_name |
A character vector of species scientific names |
prep |
A character vector of fish preparation types |
part |
A character vector of fish parts |
nut |
A character vector of nutrients to search for |
A dataframe containing species, nutrient, nutrient units, nutritional value (value), closest taxa match (taxa_match), number of observations which nutritional value was extracted (count), standard error (se), startard deviation (ssd) and confidence intervals
# Get nutritional info
# species_nutrients(sci_name = c("Salmo salar", "Oreochromis niloticus"), prep = "raw", part = "muscle tissue", nut = c("Iron, total", "Zinc"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.