A toy project to help me make more informed dietary choices.
Currently working with FNDDS 2019-2020 dataset provided by the USDA. The file structure is the following:
process_nutrition_data.py
readsFoodData_Central_survey_food_json_2022-10-28.json
and parses it into the nice dataframenutrition_info.csv
visualize_nutrition_data
takes info fromnutrition_info.csv
and visualizes it (see examples below)main.py
visualizes the given food items, represented by their FDC ID, which can be found on the Survey Foods (FNDDS) tab at https://fdc.nal.usda.gov/fdc-app.html
This code is a bit rough and I might clean it up at if I ever have some free time (but since it's a hobby project, I wouldn't expect it to happen any time soon š„²). The main things to be done:
- Pick nicer colors
- Extend code functionality
- Improve file organization