R/get_status.R

#'@templateVar aqs_endpoint status
#'
#'@description
#' Returns the status of a previously submitted job.
#'
#'@template transaction_id
#'@template endpoint_title
#'@export
get_status <- function(x) {

  if(class(x) == "raqdmObject") {
    id <- x$id
  } else {
    id <- x
  }

  get_aqdm("status", list(id = id))

}
FluentData/raqdm2 documentation built on May 6, 2019, 5:05 p.m.