Skip to content
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

SHIPP tool integration #413

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
2637919
add function to read Spectrum KP table
jeffeaton Oct 17, 2023
34a1730
initial commit
rtesra Nov 1, 2023
877056c
Merge branch 'master' into mrc-4652
r-ash Nov 3, 2023
b1607a7
Add WIP
r-ash Nov 6, 2023
f68acc0
Add WIP impl
r-ash Nov 6, 2023
0769c86
fix incidence calculations
rtesra Nov 14, 2023
d824b88
remove survey data from prevalence calculation
rtesra Nov 15, 2023
24be9e3
update workflow to pull in updated KP estimates
rtesra Nov 17, 2023
c634f8b
Merge branch 'agyw-tool-integration' into mrc-4652
r-ash Dec 6, 2023
d9ae04e
Use new format of workbook
r-ash Dec 7, 2023
4f79a95
add labels to aggregated data and patch for naomi.resource update
rtesra Dec 8, 2023
1437926
Merge branch 'agyw-tool-integration' into mrc-4652
rtesra Dec 11, 2023
b3d5ef7
Update test-downloads.R
rtesra Dec 12, 2023
34d1de2
update test data and fix bugs
rtesra Dec 12, 2023
0d48f75
Update to match renaming of columns in ASF data in naomi.resources
rtesra Dec 13, 2023
d18a72c
Update agyw integration code
krisher1 Dec 13, 2023
5cb895c
Merge branch 'master' into agyw-tool-integration
rtesra Dec 13, 2023
97cb487
Wire up data with AGYW template
r-ash Dec 13, 2023
f897636
Fix spdep warning by explicitly setting style for mat2listw
r-ash Dec 13, 2023
1030010
Suppress single warning
r-ash Dec 14, 2023
0ed3ac9
Merge branch 'pr/419' into agyw-tool-integration
rtesra Dec 19, 2023
df0e2e9
Merge branch 'agyw-tool-integration' of https://github.com/mrc-ide/na…
rtesra Dec 19, 2023
c87824d
align katie's code and clean up documentation
rtesra Dec 20, 2023
03b8ecd
Merge remote-tracking branch 'origin/pjnz-kp-extract' into agyw-tool-…
rtesra Dec 20, 2023
6484369
account for all label configurations
rtesra Dec 22, 2023
ee61e50
scale to spectrum kp workbook consensus estimates
rtesra Dec 22, 2023
4544245
remove tetsing files :(
rtesra Dec 22, 2023
3a48a40
Update NEWS.md
rtesra Dec 22, 2023
4f1358c
Use with_mocked_bindings over with_mock
r-ash Dec 22, 2023
b8721ea
Add note about with_mocked_bindings
r-ash Dec 22, 2023
dd18af0
Fix up test, regen docs
r-ash Dec 22, 2023
5b68931
Set min naomi.resources version
r-ash Dec 22, 2023
3e83bfe
Move hintr agyw test helper into Naomi
r-ash Jan 11, 2024
1dffc41
Update R/agyw-integration.R
rtesra Jan 12, 2024
873a7b1
fix up documentation
rtesra Jan 12, 2024
46f4feb
Merge branch 'agyw-tool-integration' of https://github.com/mrc-ide/na…
rtesra Jan 12, 2024
d4fc44f
add checks for alignment between agyw resources and naomi estimates
rtesra Jan 12, 2024
8ff8064
Merge branch 'master' into agyw-tool-integration
r-ash Jan 15, 2024
669ec99
Merge branch 'master' into agyw-tool-integration
r-ash Jan 16, 2024
bd34f08
Regen docs
r-ash Jan 16, 2024
ba7d6a2
Fix issue with incorrect function arg
r-ash Jan 16, 2024
eaa0d05
Remove unused helper function
r-ash Jan 17, 2024
d7aee39
add agyw vignette
rtesra Jan 22, 2024
31162e8
Squashed commit of the following:
rtesra Jan 22, 2024
04e7e40
update code to clean up country names for workbook
rtesra Jan 22, 2024
e923fce
add DOI for Hines 2020 paper
rtesra Jan 23, 2024
611c9fd
add warning for bad KP workbook consensus estimates
rtesra Jan 23, 2024
f84c756
Bump required version of naomi.resource and update branch pin
r-ash Jan 24, 2024
a4c6fe0
Update write sheet to work with file which has existing column headers
r-ash Jan 24, 2024
a10bfcd
Return error message with context should generation fail
r-ash Jan 24, 2024
dff5bf0
fix failing test for scaling to kp workbook consensus estimate
rtesra Jan 25, 2024
95da62c
remove warnings that are not output anywhere
rtesra Jan 25, 2024
69359ff
Remove branch pin, set duckdb name in DESCRIPTION
r-ash Jan 25, 2024
7c8d87a
Update agyw-integration.R
rtesra Jan 25, 2024
e2b0088
Add KP adjustment for new infections
krisher1 Jan 31, 2024
9160a40
Merge branch 'agyw-tool-integration' into pse-tool-update-incidence
rtesra Feb 5, 2024
318d350
Merge pull request #430 from krisher1/pse-tool-update-incidence
rtesra Feb 5, 2024
3063d17
rename agyw -> shipp
rtesra Feb 5, 2024
7b2ea08
Scale new infection to KP workbook or GOALS
rtesra Feb 5, 2024
e35a4a0
Update SHIPP vignette + some code fixes
krisher1 Feb 19, 2024
3b6db4d
Merge branch 'master' into pse-tool-update-incidence
rtesra Feb 19, 2024
7b6f99e
Sum infections_pwid not pwid
krisher1 Feb 19, 2024
7ad6134
Merge branch 'pse-tool-update-incidence' of https://github.com/mrc-id…
krisher1 Feb 19, 2024
aeb9ad6
Merge branch 'master' into agyw-tool-integration
rtesra Feb 21, 2024
2b649ce
Force installation of latest naomi.resources from github
r-ash Feb 21, 2024
2dc75ef
Bump version number
r-ash Feb 22, 2024
d37d5be
edge case for 0 pse
rtesra Feb 26, 2024
99f9349
Merge branch 'agyw-tool-integration' of https://github.com/mrc-ide/na…
rtesra Feb 26, 2024
8aaa93b
aggregate KP workbook from subnational pjnz files
rtesra Feb 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ vignettes_src/model-workflow.Rmd
tests/testthat/testdata/fit.RDS
.vscode
.Rprofile
.idea
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: naomi
Title: Naomi Model for Subnational HIV Estimates
Version: 2.9.18
Version: 2.9.19
Authors@R:
person(given = "Jeff",
family = "Eaton",
Expand All @@ -13,7 +13,7 @@ License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
Additional_repositories:
https://mrc-ide.r-universe.dev
Imports:
Expand All @@ -36,7 +36,9 @@ Imports:
knitr,
magrittr,
mvtnorm,
naomi.resources (>= 0.0.2),
naomi.options (>= 1.2.0),
openxlsx,
plotly,
prettyunits,
qs,
Expand All @@ -50,7 +52,6 @@ Imports:
traduire,
utils,
withr,
writexl,
yaml,
zip,
zoo
Expand Down
3 changes: 1 addition & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export(add_output_labels)
export(age_bar_plotly)
export(aggregate_anc)
export(aggregate_art)
export(agyw_format_naomi)
export(align_inputs_outputs)
export(anc_testing_artcov_mf)
export(anc_testing_clients_mf)
Expand Down Expand Up @@ -59,8 +60,6 @@ export(naomi_objective_function_r)
export(naomi_output_frame)
export(output_package)
export(pop_pyramid_outputs)
export(prepare_input_time_series_anc)
export(prepare_input_time_series_art)
export(prepare_tmb_inputs)
export(quarter_id_to_calendar_quarter)
export(quarter_labels)
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# naomi 2.9.19

* Generate PSE workbook from naomi outputs.
* Add function `extract_kp_workbook()` to extract key population totals from the Spectrum PJNZ file. Data are extracted from summary table saved in AIM Programme Statistics input for key populations.


# naomi 2.9.18

* Change PEPFAR Data Pack file name to `pepfar_datapack_indicators_2024.csv`.
Expand Down
Loading