Skip to contents

Download the modelled nutrional properties of each taxa according to Hicks et al., 2019 (https://www.nature.com/articles/s41586-019-1592-6). The table of nutrients for each taxon is directly called from the paper repository (https://github.com/mamacneil/NutrientFishbase).

Usage

get_nutrients_table(pars, summarise = TRUE, convert = TRUE)

Arguments

pars

The configuration file.

summarise

Whether you want to summarise the nutritional values for each group. The function use the median by default.

convert

Whether you want to convert the nutritional values units to grams. See details for the default starting units.

Value

A data frame with nutritional values for each taxa group.

Details

Starting units for each nutrient:

  • mg/100g: Calcium, Iron and Zinc.

  • μg/100g: Selenium and Vitamin A.

  • g/100g: Omega 3 and Protein.