Check status of data package evaluation
check_status_evaluate(transaction, wait = TRUE, env = "production")
(character) Transaction identifier
(logical) Wait for evaluation to complete? See details below.
(character) Repository environment. Can be: "production", "staging", or "development".
(logical) TRUE if evaluation has completed, FALSE if in progress, and error if an error was encountered while processing the request
If wait = TRUE
, then the function will enter a "while" loop
checking every 2 seconds for the completed evaluation report. If
wait = FALSE
, then the function will only check once and return the
result.
User authentication is required (see login()
)
Other Evaluation and Upload:
check_status_create()
,
check_status_update()
,
create_data_package()
,
evaluate_data_package()
,
update_data_package()
if (FALSE) {
login()
# Evaluate data package
transaction <- evaluate_data_package(
eml = "./data/edi.595.1.xml",
env = "staging"
)
transaction
#> [1] "evaluate_163966785813042760"
# Check evaluation status
status <- check_status_evaluate(
transaction = transaction,
env = "staging"
)
status
#> [1] TRUE
logout()
}