This project is provided in compliance with Section 4.6 b. of the ODbL.
Running this project converts a single Open Food Facts CSV Data Export into a set of JSONL files. Apart from file type conversion, this project also mutates the data structure and drops certain rows and columns as per the needs of the MacroFactor app.
- Python - https://www.python.org/downloads/
- Poetry - https://python-poetry.org/docs/
- Open Food Facts Data - https://world.openfoodfacts.org/data
- Download the latest CSV Data Export from Open Food Facts
- Create a
data
folder in the project root - Move the Open Food Facts Data into the
data
folder - Install the project dependencies
poetry install