athowes / multi-agyw

Spatio-temporal estimates of HIV risk group proportions for AGYW across 13 priority countries in sub-Saharan Africa
https://athowes.github.io/multi-agyw
MIT License
2 stars 2 forks source link

Run data preparation back to 1994 #46

Closed athowes closed 2 years ago

athowes commented 2 years ago
athowes commented 2 years ago

First inclusion of any suitable sexual behaviour questions is in 1999, suggest that as the cut-off (Zimbabwe 1999 DHS).

athowes commented 2 years ago

On why there was an error in ZWE and ZAF relating to strings and integers:

Eaton, Jeffrey W

the reason is because that call includes the 1988 ZWE DHS which did not include men So for that survey a "" string is returned, which R auto-parses the column as a character column rather than an integer should add to naomi.utils to cast those columns to integer, which will convert the "" to an NA

Fixed here https://github.com/mrc-ide/naomi.utils/issues/13

athowes commented 2 years ago

Use the plot_available-surveys to clean up any remaining missing sex paid question surveys and then this can be closed.

athowes commented 2 years ago

Should be finished. :disappointed_relieved:

athowes commented 2 years ago

image

Issue here with TZA2015DHS?