Here's a TW nutrient database based on 8787 values from the USDA. It 
includes most of the minerals and vitamins, but omits "nutrients" like 
caffeine, starch, and alcohol. You can drag and drop foods into the calorie 
tracker app. Some of the entries are a bit arcane, but if you've been 
hankering for acorn stew or Alaskan Ice cream (fish with shortening) then 
here's the place to start. Keep in mind the following considerations:

*Disclaimer:*


The user must assume all responsibility for the use and accuracy of this 
data and it's transformations. No guarantee is made in regard to this data 
nor to the Calorie/Fiber mini-app.


*Data taken from:*

   - U.S. Department of Agriculture, Agricultural Research Service. 20xx. 
   USDA National Nutrient Database for Standard Reference, Release . Nutrient 
   Data Laboratory Home Page, http://www.ars.usda.gov/nutrientdata
   - U.S. Department of Agriculture, Agricultural Research Service. 20xx. 
   USDA Branded Food Products Database . Nutrient Data Laboratory Home Page, 
   http://ndb.nal.usda.gov

*Caveats*:


Each food item entry was pulled from the abbreviated nutrients file 
available at the USDA. The original quantities were stated in terms of 100 
grams of food, but have been divided by 100 to give values per gram.


Each food item is meant to use grams as the input quantity, but the output 
units for each sub nutrient (vitamins, calories, etc.) varies by nutrient 
and follows the norms for that nutrient. That is, calories are in Kcal, 
fiber is in grams, potassium in mg, and folates in micrograms.


Before using a food item, be sure that it has been given a reasonable 
field-name value. The values were created based on the original titles. 
With 8700 entries there may be duplicates or other anomalies. The 
field-name values must conform to the naming conventions of TiddlyWiki 
fields, or they will not work.

This is just data. It doesn't include the app (see the other post in this 
thread). Having 8700 entries results in a very slow TW page, and you are 
unlikely to need all the foods unless you're having a really big party or, 
perhaps, a royal wedding.

There could be errors. It is up the user to assume all responsibility for 
the accuracy and quality of the results (e.g. don't blame me for that extra 
10 pounds you put on).

Data at: http://nutrition-database.tiddlyspot.com/

-- Mark


On Tuesday, April 10, 2018 at 4:24:31 PM UTC-7, Mark S. wrote:
>
>  I was looking at the Keto diet, and noticing how complex it was to keep 
> track of multiple factors.
>
> This is a mini-application to allow a user to keep track of calories, 
> carbs, and fiber. It could be easily extended to keep track of other 
> metrics like fats or vitamins.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2c3aa872-cf5b-440c-933f-11665ceb534a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to