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

Mass rename property-value pairs #225

Open
CharlesNepote opened this issue Jan 20, 2025 · 0 comments
Open

Mass rename property-value pairs #225

CharlesNepote opened this issue Jan 20, 2025 · 0 comments

Comments

@CharlesNepote
Copy link
Member

Problem

  • some property-value pairs are errors
  • now that we have gain experience, some property-value should be renamed to be more clear; eg. evolutions could be nb_of_evolutions; data_quality should be renamed data_quality:issue; producer_data_issue could be renamed data_quality:issue:from_producer
  • some property-values pairs are very specific to given context, and should be renamed to be more clear
    • eg. in the context of food products, conservation:date_type has only two possible values: best-before and use-by
      • the property should be renamed food:conservation:date_type to avoid mismatch with other kind of products
  • one-word properties can be very polysemic and should be renamed: variety, vintage, nova can mean very different things

Proposed solution

This should be an option in the property page, allowing people to review all the concerned products, helping them to find a good name; eg. https://world.openfoodfacts.org/property/variety

A second step can be to let the user select each product and rename the property of the selected product.

Additional context

This should be for moderators only.

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

No branches or pull requests

1 participant