Skip to content

Job request: 4880

Workspace:
antipsychotics-prescribing-during-covid-19-master
ID:
cktrqz4ysv3ejejn

This page shows the technical details of what happened when authorised researcher Millie Green requested one or more actions to be run against real patient data in the project, within a secure environment.

By cross-referencing the indicated Requested Actions with the Pipeline section below, you can infer what security level various outputs were written to. Outputs marked as highly_sensitive can never be viewed directly by a researcher; they can only request that code runs against them. Outputs marked as moderately_sensitive can be viewed by an approved researcher by logging into a highly secure environment. Only outputs marked as moderately_sensitive can be requested for release to the public, via a controlled output review service.

Jobs

  • Action:
    extract_data
    Status:
    Status: Failed
    Job identifier:
    cowyj4a4e2incmtd

Pipeline

Show project.yaml
######################################

# This script defines the project pipeline - it specifys the execution orders for all the code in this
# repo using a series of actions.

######################################

version: '3.0'

expectations:
  population_size: 100000

actions:

  # Extract data ----
  
  ## Cohort data
  extract_data:
    run: cohortextractor:latest generate_cohort --study-definition study_definition --index-date-range "2019-01-01 to 2021-12-01 by month" --output-dir=output/data --output-format=feather
    outputs:
      highly_sensitive:
        cohort: output/data/input_*.feather
  
  ## Ethnicity      
  extract_ethnicity:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_ethnicity --output-dir=output/data --output-format=feather
    outputs:
      highly_sensitive:
        cohort: output/data/input_ethnicity.feather
  
  
  # Data processing ----
  
  ## Add ethnicity
  join_ethnicity:
    run: python:latest python analysis/join_ethnicity.py
    needs: [extract_data, extract_ethnicity]
    outputs:
      highly_sensitive:
        cohort: output/data/input*.feather
        
  ## Generate measures
  generate_measures:
    run: cohortextractor:latest generate_measures --study-definition study_definition --output-dir=output/data
    needs: [join_ethnicity]
    outputs:
      moderately_sensitive:
        measure_csv: output/data/measure_*.csv
  
  ## Process data
  data_process:
    run: r:latest analysis/process/process_data.R
    needs: [join_ethnicity, generate_measures]
    outputs:
      moderately_sensitive:
        SA_measure_csv: output/data/measure_SA_*.csv
        data: output/data/data_*.csv
 
  
  # Results ----
        
  ## Table 1
  table_1:
    run: r:latest analysis/descriptive/table_1.R
    needs: [join_ethnicity]
    outputs:
      moderately_sensitive:
        table: output/tables/table1_redacted.csv

  ## Table 2
  table_2:
    run: r:latest analysis/descriptive/table_2.R
    needs: [join_ethnicity]
    outputs:
      moderately_sensitive:
        tables: output/tables/table2*.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime:

These timestamps are generated and stored using the UTC timezone on the backend.

Job information

Status
Failed
Job exited with an error code
Backend
EMIS
Requested by
Millie Green
Branch
master
Force run dependencies
No
Git commit hash
55a9137
Requested actions
  • extract_data