Shiny Contest Submission: Nutrition Calculator - calculate nutrition for recipes

Nutrition Calculator


RCloud Instance

Github Repository

Nutrition calculators are frequently used to estimate nutritional content of food and recipes.
Online free nutrition calculators based on Canadian nutrient data are rare beyond Dietitians of Canada, a basic nutrient calculator reporting values only. The alternatives for calculating nutrition are pricy proprietary nutrient calculator software and food analysis labs.

Nutrient Calculator is built as a shiny dashboard where users can easily search and add multiple ingredients from the CNF database, calculate overall nutrient data such as calories and sodium, and see nutrient amounts as percentage recommended daily values. Total calorie count, nutrients amounts which surpass 100% and 50% daily value are highlighted in at the top. Macronutrients, minerals and vitamins as % daily value are visualized on separated bar graphs.

All graphs are produced by ggplot2 and plotly while data manipulations are performed primarily in dplyr.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.