Retrieves the batch results and parses them into a panel_responses,
identical in shape to a synchronous panel_administer() run. Responses are
joined to the grid by request id, so the order the provider returns them in
does not matter.
Arguments
- job
A
panel_batch_submit()handle (or astate_pathto one).
Examples
# Fetching reads the job saved at submission, once the provider reports it
# complete; the result has the same shape as a synchronous run.
state <- file.path(tempdir(), "panel_job.rds")
# \donttest{
if (file.exists(state)) {
responses <- panel_batch_fetch(state)
}
# }