Skip to content

Initial Database

Yannik Schmidt edited this page Apr 20, 2021 · 1 revision

Goto the USDA Website, download the FNDDS data set and the Supporting data for Downloads and unpack both into the "helper_scripts"-directory. Then execute the make_db.py-script. (sqlite3 + python3 is required for this).

Move the resulting food.db to $PROJECT_ROOT/app/src/main/res/raw.

Alternatively, download the prebuilt database to the same location.

Clone this wiki locally