This package allows users to calculate the number of under-five child deaths caused by consumption of poor quality antimalarials across 39 sub-Saharan nations. The package supports one function, that starts an interactive web tool created using the shiny R package. The web tool runs locally on the user's machine. The web tool allows users to set input parameters (prevalence of poor quality antimalarials, case fatality rate of children who take poor quality antimalarials, and sample size) which are then used to perform an uncertainty analysis following the Latin hypercube sampling scheme. Users can download the output figures as PDFs, and the output data as CSVs. Users can also download their input parameters for reference. This package was designed to accompany the analysis presented in: J. Patrick Renschler, Kelsey Walters, Paul Newton, Ramanan Laxminarayan "Estimated under-five deaths associated with poor-quality antimalarials in sub-Saharan Africa", 2014. Paper submitted.
pqantimalarials is a R package that runs an interactive web tool which allows users to reproduce and modify the estimates of under-five deaths caused by poor-quality antimalarials in sub-Saharan Africa presented in:
."Estimated under-five deaths associated with poor-quality antimalarials in sub-Saharan Africa". 2014. Paper submitted.
The pqantimalarials package only has one function, and this function starts the interactive web tool:
To close the web tool:
Users set input parameters using interactive sliders:
Users are able to download:
For a given set of input settings, the downloaded files are tagged with a randomly generated ID number - so that users can download results generated using different input settings, and later be able to reference which settings were used for what outputs.
You can track development of this package at: http://github.com/renschler/pqantimalarials
This web tool has been made available as an R package. To install and run enter the following lines into your R console.
Q: When I download the CSV files and PDFs, what do the numbers at the beginnings of the filenames mean?
A: For every set of inputs, a random number is generated to "tag" your downloads.That way if you are iterating over different input settings you will know which downloads belong to which input settings. Be sure to download the input CSV if you want to be able to look up exactly what input settings you used to generate your results.