Skip to content

Job request: 6430

Organisation:
University of Bristol
Workspace:
covid-ve-change-over-time--check-emergency-data
ID:
dqygvchlhcatvoil

This page shows the technical details of what happened when authorised researcher Elsie Horne 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

Pipeline

Show project.yaml
version: '3.0'

expectations:

  population_size: 100000

actions:

  ## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
  ## DO NOT EDIT project.yaml or study_definition_1-6.py DIRECTLY 
  ## These files are created by create-project.R 
  ## Edit and run create-project.R to update the project.yaml 
  ## Edit study_definition_k.py and run create-project.R to update 
  ## study_definition_1-6.py 
  ## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
  ## #################################### 
  ## study definition 
  ## #################################### 
  ## generate dummy data for study_definition 

  dummy_data_vax:
    run: r:latest analysis/dummy_data_vax.R
    outputs:
      moderately_sensitive:
        dummy_data: analysis/dummy_data_vax.feather

  ## study definition 

  generate_study_population:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_vax
      --output-format feather
    dummy_data_file: analysis/dummy_data_vax.feather
    needs:
    - dummy_data_vax
    outputs:
      highly_sensitive:
        cohort: output/input_vax.feather

  ## #################################### 
  ## preprocessing 
  ## #################################### 
  ## process data from study_definition 

  data_input_process:
    run: r:latest analysis/preprocess/data_input_process.R
    needs:
    - dummy_data_vax
    - generate_study_population
    outputs:
      highly_sensitive:
        data_wide_vax_dates: output/data/data_wide_vax_dates.rds
        data_processed: output/data/data_processed.rds
      moderately_sensitive:
        data_properties: output/tables/data_*_tabulate.txt

  ## apply eligiblity criteria from boxes a and b 

  data_eligible_ab:
    run: r:latest analysis/preprocess/data_eligible_ab.R
    needs:
    - data_input_process
    outputs:
      highly_sensitive:
        data_eligible_a: output/data/data_eligible_a.rds
        data_eligible_b: output/data/data_eligible_b.rds
      moderately_sensitive:
        eligibility_count_ab: output/tables/eligibility_count_ab.csv
        group_age_ranges: output/lib/group_age_ranges.csv

  ## #################################### 
  ## second_vax_period 
  ## #################################### 
  ## identify second vaccination time periods 
  ## create dataset for identifying second vaccination time periods 

  data_2nd_vax_dates:
    run: r:latest analysis/second_vax_period/data_2nd_vax_dates.R
    needs:
    - data_input_process
    - data_eligible_ab
    outputs:
      highly_sensitive:
        data_vax_plot: output/second_vax_period/data/data_vax_plot.rds
        second_vax_period_dates_rds: output/second_vax_period/data/second_vax_period_dates.rds
      moderately_sensitive:
        second_vax_period_dates_txt: output/second_vax_period/tables/second_vax_period_dates.txt

  ## plot second vaccination time periods 

  plot_2nd_vax_dates:
    run: r:latest analysis/second_vax_period/plot_2nd_vax_dates.R
    needs:
    - data_eligible_ab
    - data_2nd_vax_dates
    outputs:
      moderately_sensitive:
        plots_by_region: output/second_vax_period/images/plot_by_region_*.png

  ## apply eligiblity criteria from boxes c, d and e 

  data_eligible_cde:
    run: r:latest analysis/preprocess/data_eligible_cde.R
    needs:
    - data_input_process
    - data_eligible_ab
    - data_2nd_vax_dates
    outputs:
      highly_sensitive:
        data_eligible_e_vax: output/data/data_eligible_e_vax.rds
        data_eligible_e_unvax: output/data/data_eligible_e_unvax.rds
        data_eligible_e: output/data/data_eligible_e.csv
      moderately_sensitive:
        eligibility_count_cde: output/tables/eligibility_count_cde.csv

  ## #################################### 
  ## study definition ever and k 
  ## #################################### 
  ## study definition ever 

  generate_ever_data:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_ever
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_ever.feather

  ## study definition for period 1 

  generate_input_1:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_1
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_1.feather

  ## study definition for period 2 

  generate_input_2:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_2
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_2.feather

  ## study definition for period 3 

  generate_input_3:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_3
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_3.feather

  ## study definition for period 4 

  generate_input_4:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_4
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_4.feather

  ## study definition for period 5 

  generate_input_5:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_5
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_5.feather

  ## study definition for period 6 

  generate_input_6:
    run: cohortextractor:latest generate_cohort --study-definition study_definition_6
      --output-format feather
    needs:
    - data_eligible_cde
    outputs:
      highly_sensitive:
        cohort: output/input_6.feather

  ## #################################### 
  ## process covariates data 
  ## #################################### 
  ## (includes anytest_date) 

  data_covariates_process:
    run: r:latest analysis/preprocess/data_covariates_process.R
    needs:
    - data_input_process
    - data_eligible_cde
    - generate_ever_data
    - generate_input_1
    - generate_input_2
    - generate_input_3
    - generate_input_4
    - generate_input_5
    - generate_input_6
    outputs:
      highly_sensitive:
        data_covariates: output/data/data_covariates.rds

  ## min and max follow-up dates for plots 

  data_min_max_fu:
    run: r:latest analysis/comparisons/data_min_max_fu.R
    needs:
    - data_input_process
    - data_covariates_process
    outputs:
      highly_sensitive:
        data_min_max_fu: output/lib/data_min_max_fu.rds

  ## #################################### 
  ## subsequent vaccination 
  ## #################################### 
  ## plot cumulative incidence of subsequent vaccination 

  plot_cumulative_incidence:
    run: r:latest analysis/subsequent_vax/plot_cumulative_incidence.R
    needs:
    - data_input_process
    - data_eligible_cde
    outputs:
      moderately_sensitive:
        ci_vax: output/subsequent_vax/images/ci_vax.png
        survtable: output/subsequent_vax/tables/survtable_redacted.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:07:10

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

Job information

Status
Succeeded
Backend
TPP
Requested by
Elsie Horne
Branch
check-emergency-data
Force run dependencies
No
Git commit hash
5350073
Requested actions
  • data_min_max_fu
  • plot_cumulative_incidence

Code comparison

Compare the code used in this Job Request