hintr_submit_prerun.Rd
This requires VPN or RDP access to work.
hintr_submit_prerun(
inputs,
model_output,
calibrate_output,
server = "http://naomi.unaids.org",
port = "8888",
output_zip_path = tempfile(fileext = ".zip")
)
The model inputs, a named list of file paths including pjnz, shape, population, survey and optionally programme and anc.
The hintr_output
object from model fit
The hintr_output
object from calibration
The server URL to upload files to
The port the API is running on
The path to save the output zip at, will use a tempfile by default
Path to the generated output zip
This will take all model files and upload to a specified server and output the model output zip which can be saved into the ADR or uploaded into the Naomi app to view plots of model outputs.
Can use this for countries which cannot get a fit to work via the app you can prepare a model fit locally and then upload those outputs into the app.