% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/job.R
\name{job_result}
\alias{job_result}
\title{Load the result of a completed DNAnexus job into R}
\usage{
job_result(job_id)
}
\arguments{
\item{job_id}{(character) Job ID returned by \code{extract_batch()}.}
}
\value{
A \code{data.table} with one row per participant.
}
\description{
Reads the output CSV produced by \code{extract_batch()} directly from RAP
project storage and returns a \code{data.table}. Must be run inside the
RAP environment.
}
\examples{
\dontrun{
job_id <- extract_batch(c(31, 53, 21022))
job_wait(job_id)
df <- job_result(job_id)
}
}
