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
Feature Request: who comparative data in weight chart #512
Comments
Hm. The challenge here would be that Baby Buddy does not enforce any particular unit for weight (or anything else) so supplementing with this data would be pretty complex. Unless that changes at some point this is probably best left as an exercise to individual users with Baby Buddy's API. And I would be happy to boost anything that someone builds and releases 😃 |
hmm maybe better that one makes it generally. but I think now the feature is too big :-D |
I was thinking about adding this, I don't really want to have to spin up something else outside of BB itself to do this comparison. How about adding buttons to add the percentile lines in kg and lb so if people are using those units they can toggle on the lines? |
Hmmmm I could see that working. Definitely open to a PR. I'd also consider committing to kg (making this slightly easier) but that probably have to happen in a major release. |
The way it should be 😉 |
Haha yes I increasing feel that way. If Baby Buddy commits to anything it will be metric. |
I took the liberty of making a plotly.js chart from the WHO data https://codepen.io/barakplasma/pen/bGOoZEe?editors=1011 |
Very cool @barakplasma -- one thing to keep in mind is Baby Buddy doesn't currently have any way to set a child's sex. So that is something we'll have to add in support of this as well. |
* feat: weight percentiles report #512 * fix: formatting on weight percentile graph to extend out only 1 day more than the last weigh in date #708 (comment) * feat: pre-commit lint with black hook tested and stops the python commit if formatting is bad. then it runs black and fixes the formatting, resulting in a new git change to add/commit again --------- Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
* feat: weight percentiles report babybuddy#512 * fix: formatting on weight percentile graph to extend out only 1 day more than the last weigh in date babybuddy#708 (comment) * feat: pre-commit lint with black hook tested and stops the python commit if formatting is bad. then it runs black and fixes the formatting, resulting in a new git change to add/commit again --------- Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
This is really awesome! Thank you very much. Maybe you can also add https://www.who.int/tools/child-growth-standards/standards/length-height-for-age in one of the next releases? And maybe we should give somewhere (in the report itself?) a note that this chart will only work, if you document in kg (until now, I used gram). |
@fs1 should be doable -- could you make a new issue with this request so we can track it? |
Our pediatrician uses the Percentiles weight data to assess our child's weight development.
I would like to be able to visualize this as well.
The Percentiles weight data are comparative data to be able to estimate the development.
These are published by the World Health Organization.
https://www.who.int/tools/child-growth-standards/standards/weight-for-age
A distinction is made between male and female gender.
I would like to be able to fade in these in the weight chat with to be able to estimate the development.
The text was updated successfully, but these errors were encountered: