Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

Latest commit

 

History

History
29 lines (18 loc) · 2.05 KB

File metadata and controls

29 lines (18 loc) · 2.05 KB

Foundations of Data Science

#Abstract Group 5

Idea: Are different age groups in the UK eating properly? This is our first year in the UK, and one thing that caught our eye was that there is a huge amount of take aways, junk food restaurants, restaurants in general. So we are quite interested to know if people that live in the UK are in terms with the food guidelines that the NHS or the UK government provide to them. As a result, we are thinking of analysing the nutrient intakes of different age groups (children, adults, elderly people). By nutrient intakes we mean calories, proteins, carbohydrates, fats, vitamins, and all information that we can find, and try and make a correlation and see if people eat and drink as they should (using information from the NHS guidelines).

#Guidelines

Infants: https://wicworks.fns.usda.gov/wicworks/Topics/FG/Chapter1_NutritionalNeeds.pdf

Others: https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/547050/government__dietary_recommendations.pdf

#Installation Instructions

For anyone that wants to run the exact same analysis and server, please note first that your computer should have python3 installed, the libraries numpy, matplotlib, and pymongo as well as the python tornado framework. Finally, they should also have mongoDB installed.

After installing these libraries, in order to set the database and run the server, the following steps should be made:

  1. Run file import-data.py
  2. Run file analysis-test.py
  3. Run file nutrients-test.py
  4. Run file final.py
  5. Run server.py