Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export packaging components data in dedicated CSV export #8361

Closed
stephanegigandet opened this issue Apr 25, 2023 · 0 comments · Fixed by #8362
Closed

Export packaging components data in dedicated CSV export #8361

stephanegigandet opened this issue Apr 25, 2023 · 0 comments · Fixed by #8362

Comments

@stephanegigandet
Copy link
Contributor

Packagings data is now structured: different fields like shape and material for a varying number of components for products.
To ease the analysis of packaging data, we can generate a new CSV for packaging data, with 1 line per packaging component.

Note that only the child shape / material / recycling will be exported, so a PET bottle will have 1 line for a component with a PET material, and no line with the parent "plastics".

An alternative way to explore the data is to use the aggregated packaging stats per country and categories, which includes data on parents: https://world.openfoodfacts.org/data/categories_stats/categories_packagings_stats.packagings-with-weights.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant