#' get the runs for a tag project in a batch from the data server
#'
#' @param projectID integer scalar motus project ID
#' @param batchID integer scalar motus batch ID
#' @param runID double scalar ID of latest run already obtained.
#' Default: 0, meaning none.
#'
#' @return a data.frame with these columns:
#' \itemize{
#' \item (double) runID
#' \item batchIDbegin
#' \item (double) tsBegin
#' \item (double) tsEnd
#' \item (integer) done
#' \item (integer) motusTagID
#' \item (integer) ant
#' \item (integer) len
#' }
#'
#' @export
#'
#' @author John Brzustowski \email{jbrzusto@@REMOVE_THIS_PART_fastmail.fm}
srvRunsForTagProject = function(projectID, batchID, runID=0) {
x = srvQuery(API=Motus$API_RUNS_FOR_TAG_PROJECT, params=list(projectID=projectID, batchID=batchID, runID=runID))
return (structure(x, class = "data.frame", row.names=seq(along=x[[1]])))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.