-
Notifications
You must be signed in to change notification settings - Fork 9
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
Apply Spectrum ART adjustments #462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi — thanks for this.
Overall comment here: it looks like the function is returning additional columns with the scalar and absolute adjustment factors. Is that required to return both of those, or would it be sufficient to simply return two columns with the raw and adjusted ART totals?
It also looks to me like there is a discrepancy where in the art_dec31
column might be returning raw numbers for adults and adjusted numbers for children. I might be parsing it wrong though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some test failures on this, this test
── Error ('test-input-comparison.R:74:3'): Comparisoon wrapper function works with missing programme data
There might some metadata we need to add here too, let's chat this morning.
# TO DO: Ensure ART adjustments in Spectrum are applied | ||
# Make a test "pjnz" file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test has been written now right? In test--spectrum.R
?
…rc-ide/naomi into Apply-spectrum-ART-adjustments
8664535
to
e1de628
Compare
read_dp_art_dec31()
with new .DP file flags to ensure ART adjustment factor and ART patient reallocation counts are applied to number on ART extracted from Spectrum.