Closed jeffeaton closed 9 months ago
Thanks. Corresponding hintr PR at https://github.com/mrc-ide/hintr/pull/473
Closed and pulled into https://github.com/mrc-ide/naomi/pull/426 in this commit
Closed and pulled into https://github.com/mrc-ide/naomi/pull/426 in this commit
This PR adds a function to read the key population summary data saved in the Spectrum Program Statistics tab for key populations.
It reads the KP data saved in the below Spectrum visualization. It does not include the "remaining population" bars (which are calculated separately in Spectrum and not saved with the KP workbook summaries). Those can be calculated from the other Spectrum results read from the PJNZ.
Here is an example of what the output currently is, using Malawi 2023 Spectrum file as an example:
If no KP workbook was uploaded, the table will return with all
NA
values.It will be useful to know exactly what is needed for Oli / Katie scaling to figure out what further processing of this will be needed and where to insert in Naomi workflow.