Returns a single string describing where a dataset is in the processing
lifecycle, by fetching the dataset detail and translating its status fields
(is_started, is_succeeded, is_failed). A dataset that has been started
but has neither succeeded nor failed is reported as "processing".
Usage
get_dataset_status(dataset, auth_token = Sys.getenv("SCPCA_AUTH_TOKEN"))Arguments
- dataset
the dataset UUID string, or a list with an
$idelement, such as the return value ofcreate_dataset().- auth_token
an authorization token from
get_auth(). Defaults to theSCPCA_AUTH_TOKENenvironment variable, whichget_auth()sets automatically.
Value
a single character string: one of "pending", "processing", "succeeded", "failed", or "expired".