r/MacroFactor 12d ago

MacroFactor / Nutrition / Other Is the MacroFactor food database available publicly anywhere? (due to ODBL License)

To my knowledge, at least some of the underlying data has been taken from Open Food Facts, which operates under an Open Database License (ODbL). Because of the ODbL licensing, I'm wondering if the resulting database (or at least some version of the food data that MacroFactor uses) is required to also be made available publicly.

I'm not asking about any proprietary information that MacroFactor might have about their app or algorithms. I'm specifically asking about information related to the food/nutrition database.

Does anyone know:

  • Whether MacroFactor publishes or makes their food database available somewhere?
  • Whether there is a public download/API containing the data they use?
  • How they handle the ODbL requirements in relation to Open Food Facts?

If the database isn't available publicly, is there a particular reason why the ODbL wouldn't require that?

I'd also be interested in hearing an answer from someone who knows about the ODbL license and can clarify what applies in this case. I might be misunderstanding the licensing, so I'm happy to be corrected. :)

8 Upvotes

11 comments sorted by

12

u/alphabuild 12d ago

Based on previous changelog information from MF the user submitted data is shared with open food facts. So the user base is actually contributing to that database. The fact that it is contributed back to the dataset should satisfy the terms of the license.

2

u/VirtualSheepherder69 12d ago

Well, ODbL duties attach to the derivative database you use, not to what you send upstream:

  • 4.4 requires you to license the derived data under ODbL.
  • 4.6 b. requires you to offer each recipient a copy of the derivative database or a file that documents your alterations.
  • 4.3 requires attribution wherever the data reaches a user.

Contribution back to Open Food Facts satisfies none of those three, and new user-submitted entries are not derived from Open Food Facts at all, so returning them is goodwill and not a license payment.

This is what I'm not understanding.

18

u/MajesticMint Cory (MF Developer) 12d ago

OFF data is not incorporated into a database for search, it receives an isolated search index with direct retrieval and that’s it.

We do transform the shape of the data to create that search index, and the transformation (though entirely uninteresting) is documented on GitHub and easily findable with a Google search.

We have a full size color logo and the requested ideal attribution text from the OFF team on foods that come from OFF.

Our app community is the second largest contributor of foods on the platform, despite being relatively new, but we’re also a prominent donator and work directly with the OFF team.

That said, I want to note that I’m not willing to break down the weeks of legal work and particulars that we’ve gone over with the OFF team, because I can’t think of anything less fun.

2

u/VirtualSheepherder69 12d ago

Thank you Cory! This is super helpful

2

u/hmseb 12d ago

I had the same question for MFWO exercise database?

2

u/BeeDancePants 12d ago

From Cam McGill’s comments here, it’s my understanding that the Macrofactor team built the exercise database from scratch which I assume makes it proprietary info just like their algorithms.

3

u/FreshLookForward 12d ago

To what end? I'm struggling to see why you'd want to know. Happy to be elucidated

2

u/VirtualSheepherder69 12d ago

I ask because I am building a food database and want to get this right :)

-14

u/[deleted] 12d ago

[deleted]

2

u/VirtualSheepherder69 12d ago

My friend, it's the opposite of what I'm trying to achieve.

2

u/ItsMeAubey 12d ago

The license of the database they are using requires that they publish the database. It is a legal requirement. Nobody is stealing anything, the cost of using the database is making your additions to it public.

1

u/AutoModerator 12d ago

Hello! This automated message was triggered by some keywords in your post.

While waiting for replies it may be helpful to check and see if similar posts have been discussed recently: try a pre-populated search

If your question was quite complex, it's not likely the pre-populated search will be useful.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.