foodrepo_api icon indicating copy to clipboard operation
foodrepo_api copied to clipboard

Format of units and nutrients

Open timokoenig opened this issue 4 years ago • 1 comments

Units After I had a short look on the datasets of the Open Food Repo, I noticed that the units are not normalized and appear in different variants. I think it would be much better to have all units lowercase.

g
mL
L
Cl
Kg
Dl
ml
cl
kg

Nutrients As far as I can tell, majority of the nutrients are listed in lowercase with underscores, but there are a few exceptions. I think it would make sense to replace the hyphens with underscores as well, to have a common format for the nutrients.

omega-3_fatty_acids
provitamin_a_-carotene
omega-6_fatty_acids

timokoenig avatar Apr 28 '20 09:04 timokoenig

Hello @timokoenig , Thank you for posting this issue. It's tracked in your internal issues tracking. I'll update this issue when it'll be done.

noefroidevaux avatar Jul 14 '20 12:07 noefroidevaux