irisliucy / restaurant-nutrition-index

Examine nutritional content of menus of different food venues in LA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A continuous indicator of food environment nutritional quality [Project Page] [Notebook]

Iris Liu, Kayla Haye, Andrés Abeliuk, Abigail Horn. In KDD, 2021.

0. Prerequiste

This repo support Python3 and Ipython Notebook. Make sure you have download the original dataset and save it to the local machine.

1. Clean Dataset & Perform Nutrition Analysis

We provide a script filter_USDA_match.py under both validation_nutrient_menustat and validation_nutrient_nutrionix folder, that clean the dataset, search nutrition values of food items via USDA API, perform nutrient analysis and finally save the results to CSV file.

2. Extensive nutrient analysis using a continuos food indicator

The Ipython notebook provides a step by step guide on how to use the continous food indacator, i.e. RRR to measure the healthiness of food at the food category and restaurant level.

Citation

If you find these models useful for your resesarch, please cite with this bibtex.

@article {Liu2021.11.24.21266841,
	author = {Liu, Iris C. and de la Haye, Kayla and Abeliuk, Andr{\'e}s and Horn, Abigail L.},
	title = {A continuous indicator of food environment nutritional quality},
	year = {2021},
	doi = {10.1101/2021.11.24.21266841},
	publisher = {Cold Spring Harbor Laboratory Press},
	URL = {https://www.medrxiv.org/content/early/2021/11/26/2021.11.24.21266841},
	eprint = {https://www.medrxiv.org/content/early/2021/11/26/2021.11.24.21266841.full.pdf},
	journal = {medRxiv}
}

About

Examine nutritional content of menus of different food venues in LA


Languages

Language:Jupyter Notebook 99.0%Language:Python 1.0%