Sign in | Sign up

nf_total_carbohydrate definition

Tagged:

Currently contains 5 posts

Avatar

April 24, 2014 07:10

getdave

I’m looking to understand more about the field “nf_total_carbohydrate”.

Looking through the API field values spreadsheet at

https://docs.google.com/spreadsheet/ccc?key=0AmQ7yz5GxBrvdFhtRUpPdjl3VWk2U0dvZENyUVNrWGc&usp=drive_web#gid=0

…there is no description of what the field represents and I’m struggling to find more online.

“total carbs” is unclear and requires a better definition. Total of what?

Many thanks in advance for your assistance,

David

Avatar

April 26, 2014 22:49

getdave

Is it “total carbs per serving weight”? Because “nf_serving_weight_grams” is a field.

Can someone from Nutritionix please respond?

Avatar

April 30, 2014 13:20

Matt Silverman

Hi David,

The nf_total_carbohydrate field represents the total carbohydrate field that is found on most nutrition labels. Here is an example:
http://dtc.ucsf.edu/images/charts/nutrition_facts2.gif

Can you let me know if this answers your question?

Avatar

April 30, 2014 15:06

getdave

Hi Matt,

I’m so glad someone from your team was finally able to come back to me.

To be clear this field represents the “total carbohydrate found in a single serving of the food”?

Can I assume that the field “nf_serving_weight_grams” is the weight of the Serving?

Basically I want my users to be able to enter the weight of their Portion and have my app return the total carbs in that portion. My current calculation is

(nf_total_carbohydrate/nf_serving_weight_grams) * user_portion_weight = Carbohydrate in Portion

Can you confirm this is correct?

Avatar

May 01, 2014 14:47

Matt Silverman

Hi Dave,

Yes, you are correct about total carbohydrate and serving grams.

From a simple review, your calculation seems correct, though we cannot officially give support on custom formulas like this.

Reply to thread