View source: R/addFoodGroupsConstraintData.R
addFoodGroupsConstraintData | R Documentation |
Adds serves constraints to food groups dataframe
addFoodGroupsConstraintData(filepath, df, diets)
filepath |
Path in which the dataset, in .xlsx format, is stored.. |
df |
Food groups dataframe. |
diets |
Chosen diets. Constraint sheets in foods dataset must be of format 'constraints_DIETNAME_diet_food_groups', then the parameter passed will be DIETNAME. Can be a vector of diets in format c('DIETNAME1','DIETNAME2',...,'DIETNAMEN'). |
Food groups dataframe with added constraint data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.