Closed jeffeaton closed 2 years ago
Thanks. Corresponding hintr PR at https://github.com/mrc-ide/hintr/pull/395
This looks good, do we want this to be plotted on input data? At the moment ANC input data plots "ANC HIV prevalence" and "ANC prior HIV ART coverage". These columns are computed from the input data. Just wanted to check do we want to plot any other data? If not then this PR looks good to merge
Eventually yes—we want to plot births_facility
relative to anc_clients
. Have suggested to @rtesra to make a separate ticket for that as it can be independent from this PR.
This PR updates the ANC example data for new fields in 2023:
anc_known_neg
,births_facility
.read_anc_testing()
to parse data set with additional fields.anc_known_neg
field is missing or is allNA
values, it is replaced by a column of0
s.calculate_anc_prevalence()
to addanc_known_neg
to denominator.anc_testing_prev_mf()
to addanc_known_neg
to denominator.TO DO (@rtesra):
anc_known_neg
. Should be completed before merging this PR.anc_clients
vs.births_facility
. Does not need to be completed before merging this PR; can push to an issue for future attention.