Open
Conversation
…rds in R, add these to who tests
…ameter which defaults to False, but applies linear interpolation across the board if true. Adds comparisons between who daily and uk_who calculated values
…, monthly for >5y as json, csv folder for the who csv files. adds a new function to parse the csv files either into individual json files or 3 combination files as before. deprecates old who json files
…ting chart function bmi against gold standard charts
- Updated comments for clarity regarding age thresholds. - Simplified the logic for selecting WHO reference data for children aged 2.0 and below. - Removed redundant checks and print statements related to reference selection. - Ensured that the correct reference is selected based on the age and default_youngest_reference flag. - Improved error handling for missing reference data by raising a LookupError with a clear message. - fixed BMI failing tests with exception of +3.09
…rts (default youngest reference false)
…container for dev in editable mode
…male), bmi (male/female), length (male/female)
… test data out to separate file. now has over 5y tests for centile line calculation for length (boys/girls), weight (girls)
…-python into who-validation
…easurement for plotting pass, when testing against the published WHO line coordinates. Oddly though they only pass if we DON'T use the convoluted calculations that apply a correction above +3 and below -3 SDS for BMI.
…tiles. Note that this involves disabling the WHO calculations >-3 and <-3 SD. We have no tests for measurement->SDS for this so these will need to be added
…d from WHO published anthro and anthroplus packages forked to RCPCH and amended to increase precision to 3dp. Chart functions passing (though >5y excluded from under 5s published curves). We are now including in <5s actually upto 1856 days, and taking WHO 2007 from 61 months (where the data starts from)
Member
|
🤯 whoa man! Nice work. |
Member
Author
|
LOL thank you @pacharanero - It would be great if we could go through it together as a sense check ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This is a fairly large feature because it: