Skip to content

foodopendata/food-allergens-ch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

A list of food allergens provided as a Simple Data Format Data Package.

This dataset was compiled at a School of Data workshop in preparation for the Open Food Hackdays.

Currently available in German only.

Data

This dataset is based on the Swiss legislation on food allergens (PDF); see p. 37 - Zutaten, die Allergien oder andere unerwünschte Reaktionen auslösen können.

Preparation

Our starting point was the Swiss law, which lists the 14 overarching categories of food ingredients that are the most common allergens, i.e.:

  1. Glutenhaltige Getreide
  2. Krebstiere
  3. Eier
  4. Fische
  5. Erdnüsse
  6. Sojabohnen
  7. Milch
  8. Hartschalenobst (Nüsse)
  9. Sellerie
  10. Senf
  11. Sesamsamen
  12. Schwefeldioxid und Sulfite
  13. Lupinen
  14. Weichtiere

We created and filled out the data by hand from the PDF. We compared this list to the very similar and more comprehensive one published on kochenOHNE.de and even did a manual scrape, but currently are unsure about the legal terms of this website - whether we may republish this list, and what are its sources.

We then looked into the possibility of linking such data to a resource like FoodAllergy.org or the InformAll database, which contain detailed information (example) on each allergen. The use of a scientific resource like AllergenOnline.org would be possible with a reliable way to match allergens.

Notes

We worked on this dataset after looking through the new OpenFood.ch online database and API. The various product photos in particular made us realise how time consuming and confusing it may be to try to read through ingredient lists on food packaging. This API does not currently provide structured data on ingredients, but we thought it would be useful to developers to have a master list of allergens to at least be able to do plain text matching. However, we could find no such information resource after a vigorous search (Swiss Open Data portals, Allergy Centre, Health Observatory, etc.)

It is interesting to compare the legislation on food allergens of different countries. On a superficial level, we saw a few similarities and disparities between Swiss and EU laws (PDF; p. 4), each with 14 food groups, and the U.S. (FDA) guidance - which focuses on eight major food groups, and includes relevant statistics, such as the medical impact of allergens.

While proprietary resources like the FoodEssentials API provide data on allergens for certain (USA only) products, and are used in open source projects like Lergix and AllergyAlert, we are interested in structured data relevant to Switzerland. Furthermore, we believe an effort to create a multilingual (and with alternative spellings) and well-structured open data source would encouragement the development of tools that many people would find beneficial.

Questions:

  • What could be considered an "authoritative" source of information?
  • Are there any special issues (ethical, medical) to be aware of in using this data?
  • Do any efforts exist in academia or industry to create such a common database?
  • Would it make sense to crowdsource a potentially much more comprehensive list?
  • What would be useful fields and other data sources to link to this one?

See also:

Further reading:

License

This package is licensed by its maintainers under the Public Domain Dedication and License.

Nevertheless, it should be noted that this material is currently sourced from several third-parties whose data publishing rights and licensing policies are somewhat unclear.

If you intended to use these data in a public or commercial product, please check the original sources for any specific restrictions.