These are all the changed I made to the InterventionEvaluatR package in order to make the web UI work. Work in progress, do not merge yet.
Summary of changes:
Overall
Remove unnecessary data from analysis object to make cluster operations faster (#53)
Use dataCheckWarning instead of warning to flag warnings pertaining to data sanity checks; these warnings (and only these warnings) are shown as part of the analysis results in the web UI
Added support for using an externally supplied cluster, to allow web UI to control cluster configuration
Added support for reporting (rudimentary) progress to the WebUI
Execute more parts of impact and univariate analysis on the cluster, even when they do not benefit from parallelization; this allows the web UI to shift as much of the analysis to a dedicated cloud-compute resource
Impact analysis
Allow user to restrict analysis variants in evaluatr.impact using the variants parameter (#53)
Include information about which analysis variant is best in impact_results$best$variant[[group]] (#53)
Plots
Use ggplot for univariate plot (#53)
Improved and more consistent esthetics for counterfactual plots
These are all the changed I made to the InterventionEvaluatR package in order to make the web UI work. Work in progress, do not merge yet.
Summary of changes:
dataCheckWarning
instead ofwarning
to flag warnings pertaining to data sanity checks; these warnings (and only these warnings) are shown as part of the analysis results in the web UIevaluatr.impact
using thevariants
parameter (#53)best
inimpact_results$best$variant[[group]]
(#53)ggplot
for univariate plot (#53)