digitalepidemiologylab / foodrepo_api

FoodRepo API
Other
60 stars 6 forks source link

Format of units and nutrients #20

Open timokoenig opened 4 years ago

timokoenig commented 4 years ago

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
noefroidevaux commented 4 years ago

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.