Giter Club home page Giter Club logo

Comments (11)

oakbrad avatar oakbrad commented on May 16, 2024 2

How about analysis of spoiled products vs Product Group?

  • Percentage of spoiled products vs Product Group, like a pie chart
  • Historical data of the value (based on tracked prices) of spoiled products, filterable by Product Group
    • "What is the total cost of spoiled food over the last week"
    • "Is the cost of Vegetable spoilage going down or up" by Product Group
  • List of most often spoiled products, or most spoiled per Product Group ("buy less of these"). Maybe flag these visually somehow on product page/shopping list as 'Often Spoils'

from grocy.

BlizzWave avatar BlizzWave commented on May 16, 2024 1

One I thought of was "what recipe has consumed the most"

from grocy.

berrnd avatar berrnd commented on May 16, 2024

@oakbrad: Great ideas, thanks!

One I thought of was "what recipe has consumed the most"

This would involve to track on consume for which recipe this was, can be of course done automatically when using the "consume this recipe"-button. We don't have this data as of now - will be tracked in #138.

from grocy.

berrnd avatar berrnd commented on May 16, 2024

Was accidentaly closed by a wrong commit message in 8020f92...

from grocy.

hannahswain avatar hannahswain commented on May 16, 2024

How about a list of the most recently used up/consumed products?

You can set a minimum stock per product, but that's for well-known staples. It can be useful to go back and look at what has just been used up to see if it should be purchased again.

from grocy.

berrnd avatar berrnd commented on May 16, 2024

Originally posted by @teitrand in #504 (comment)

I'd love to se some statistics on how much food goes to waste, and some functions to help reducing waste. Maybe get grocy to propose meals from the list of soon expiring food.

from grocy.

Wordna1 avatar Wordna1 commented on May 16, 2024

What about leftover tracking? I'm not exactly sure what this might look like, but such an analytic could certainly help confirm/adjust a recipe's servings. In other words, if only half the recipe was consumed, perhaps it makes double the servings you thought.

from grocy.

raupie avatar raupie commented on May 16, 2024

I think this is the feature I need the most and the only one I really care about. I don't think I can get my family on board to contribute to adding and removing inventory from stock. I care most about how much we spend a month/year on certain products. The data analytics side of things for budgeting purposes. Spotting trends or ways to save on buying things in bulk when there is a sale or coupons.

The product overview kinda does this with the chart that shows averages. I'm hoping to build something more granular with grand totals by year or month based on a timeframe you choose.

As in, I spent x amount on milk this year or x amount on toilet paper.

My local grocery store doesn't have an API but I spotted a sub request in my accounts "recent orders" page that contains the online orders summary in JSON. So now I'm immediately excited about the idea of using this json to scrape it and import it grocy-python https://github.com/SebRut/pygrocy into my grocy inventory.

I think the stock journal page is the most logical place to start with including the purchase price column. Not sure if the columns can by dynamic to make visible|invisible based on what you want to see. Then charting with pie|bar charts would probably need to be on it's own separate page. So perhaps in general a analytics page can handle all of this without needing to touch the stock journals page. Just brain storming and I can take this to r/grocy for further discussion.

from grocy.

raupie avatar raupie commented on May 16, 2024

Got my local dev setup and taking a look at the database. Seems everything is in stock_log. History of stock items, date purchased and quantity + price.

So no database schema changes to even start building out this level of reporting.

I'm thinking pie/bar charts of the product groups for accumulative purchases. Then breaking it down into product item level. Then adding a date range to filter.

from grocy.

berrnd avatar berrnd commented on May 16, 2024

I think there is no doubt and it's pretty clear that any "analysis page" will be about some charts somewhere and a date range filter.

Would be great to keep it at clear and concise (and at best small) topic related additions here (and also for other feature requests). If I or someone else starts working on this at some point and needs to read a book at the end, which is mostly a personal brainstorming story, is IMHO time wasting and brings nothing (please don't get me wrong on this).

When there are technical questions, please use the subreddit - I'm of course happy to answer anything which comes up, as always.

from grocy.

raupie avatar raupie commented on May 16, 2024

I'm starting a branch. Not sure if anyone else is actively working on it. Will start a subreddit if needed. Thanks.

from grocy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.