FRIDA at DTU has an amazing dataset of nutritional content. We can use this and linear programming to optimize a diet with specific limits of carbs, fats and proteins - for gains.
I'll exemplify this using a bookdown on various examples.
How do I get hold of the data?
Please follow these instructions to get the required dataset from DTU:
- Visit FRIDA at DTU
- Provide your Full name and e-mail address
- Await an e-mail in your inbox with a download link. The download link will look something like https://frida.fooddata.dk/data/download/.../...
- Leave the zip-file in the data directory of the repo once you've cloned/downloaded it.
Please go here to view the Pages deployment:
https://ckrusemd.github.io/macros-on-point/
Sources:
- Fødevaredata (frida.fooddata.dk), version 4, 2018, Fødevareinstituttet, Danmarks Tekniske Universitet
- Data for fødevarers næringsindhold er stillet til rådighed af DTU Fødevareinstituttet (frida.fooddata.dk)