1

Im trying to find an API or dataset which contains both - the dietary information for example the number of calories aswell as a deeper breakdown into carbs, fats, proteins etc and also data on the persons physical activity/exercise so for example stuff like type of activity, calories burned, duration etc.

There seems to be datasets on just Nutrition or just Physical activity, but not both for some reason. I can work around 2 different data sets but ideally I would prefer if they were both in one, is anyone aware of any?

  • Have you looked at this thread? ... I'm not sure what you are looking for exactly. Dietary needs given age, gender, health status, level of activity? Or, 1) dietary composition of foods, and 2) energy requirements by activity. – Simon Nov 16 '17 at 10:37
  • @Simon, Sorry yeah what I wrote was kind of ambiguous. Essentially what you said first, so Dietary intake of a person given their age, gender, and level of activity ideally it would contain a diet breakdown aswell as some detail about the activities the person does, but this is wishful thinking. – loxi92 Nov 17 '17 at 3:02
  • Ok. That is a tough one. Even for age and gender you may have to get estimates from the literature (i.e. no ready made csv for you). Let us know if you find/create something ... – Simon Nov 17 '17 at 10:06
  • @Simon Managed to find something, a National Diet and Nutrition Survey on the UK data service website, discover.ukdataservice.ac.uk/series/?sn=2000033#access. It contains data on users' dietary and physical activity information. You will need to register to use it though and its in a pspp .sav format but you can use R to convert .sav to .csv and go from there if you're looking to import to mongodb for example. – loxi92 Nov 18 '17 at 4:42
  • Nice work! I’ll sign up and have a look. – Simon Nov 18 '17 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.