openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
GNU Affero General Public License v3.0
621 stars 363 forks source link

CSV Upload from Open Source Data to OFF Database - PLU codes #7735

Open FoodCoach-App opened 1 year ago

FoodCoach-App commented 1 year ago

Description

Bulk CSV file "add" to database. Specifically looking to upload all PLU codes from here (https://www.ifpsglobal.com/PLU-Codes) with the free to use USDA nutritional information from here (https://fdc.nal.usda.gov/fdc-app.html#/food-details/2346398/nutrients). There are 1423 unique items on this list; I'd hate to have to do this manually.

Acceptance criteria

API or website based CVS reader that would take the CVS file and:

  1. create the new 4-5 digit UPC code items
  2. populate the name for each item
  3. populate the nutrition information for each item
  4. populate an image/image link for the items

What would a demo look like

  1. upload CSV (with proper format or headers)
  2. OFF is updated with information

    Notes

Tasks

  1. create the new 4-5 digit UPC code items
  2. populate the name for each item
  3. populate the nutrition information for each item
  4. populate an image/image link for the items
teolemon commented 1 week ago

Related wiki page: https://wiki.openfoodfacts.org/Food_Traceability_Codes/Fruits_and_vegetables