Watches a job given a job id

check_job(job_id)

Arguments

job_id
  • job id in the format of job-XXXXXX.

Value

file_id - If a CSV file was generated in the job, otherwise NULL. Prints alert to screen of job status and job_id for file generated.

Examples

if (FALSE) {
ds_id <- find_dataset_id()
fields <- fields <- c("participant.eid", "participant.p31", "participant.p41202")
job_id <- launch_table_exporter(ds_id, fields)

check_job(job_id)
}