Skip to content

Job request: 24770

Organisation:
UKHSA
Workspace:
main_branch
ID:
oaflvdba2oazg4i2

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

By cross-referencing the list of jobs with the pipeline section below, you can infer what security level the outputs were written to.

The output security levels are:

  • highly_sensitive
    • Researchers can never directly view these outputs
    • Researchers can only request code is run against them
  • moderately_sensitive
    • Can be viewed by an approved researcher by logging into a highly secure environment
    • These are the only outputs that can be requested for public release via a controlled output review service.

Jobs

Pipeline

Show project.yaml
version: '4.0'

actions:
  generate_dataset:
    run: ehrql:v1 generate-dataset analysis/dataset_definition.py --output output/dataset.csv.gz
    outputs:
      highly_sensitive:
        dataset: output/dataset.csv.gz

  raw_data_overview:
    run: r:v2 analysis/raw_data_overview.R output/dataset.csv.gz output/overview/ TRUE
    needs:
    - generate_dataset
    outputs:
      moderately_sensitive:
        txt: output/overview/dataset*.txt

  dataset_cleaning:
    run: r:v2 analysis/dataset_cleaning.R 
    needs:
    - generate_dataset
    outputs:
      highly_sensitive:
        df_clean: output/dataset_clean/dataset_clean.csv.gz

  clean_data_overview:
    run: r:v2 analysis/raw_data_overview.R output/dataset_clean/dataset_clean.csv.gz output/dataset_clean/overview/ TRUE
    needs:
    - generate_dataset
    - dataset_cleaning
    outputs:
      moderately_sensitive:
        txt: output/dataset_clean/overview/dataset*.txt

  dataset_processing:
    run: r:v2 analysis/dataset_processing.R 
    needs:
    - generate_dataset
    - dataset_cleaning
    outputs:
      highly_sensitive:
        df_all_counts: output/dataset_processed/processed_counts_midpoint_rounded.csv.gz
      moderately_sensitive:
        df_all_counts_sub1: output/dataset_processed/subset/processed_counts_midpoint_rounded.csv
        df_all_props_sub1: output/dataset_processed/subset/processed_counts_midpoint_rounded_proportions.csv

  processed_data_overview1:
    run: r:v2 analysis/raw_data_overview.R output/dataset_processed/processed_counts_midpoint_rounded.csv.gz output/dataset_processed/midpoint_rounded/overview/ FALSE
    needs:
    - generate_dataset
    - dataset_cleaning
    - dataset_processing
    outputs:
      moderately_sensitive:
        txt: output/dataset_processed/midpoint_rounded/overview/dataset*.txt

  post_processing_analysis:
    run: r:v2 analysis/post_processing_analysis.R
    needs:
    - generate_dataset
    - dataset_cleaning
    - dataset_processing
    outputs:
      moderately_sensitive:
        ethnic_age_box_png: output/dataset_processed/midpoint_rounded/analysis/plots/ethnicity_age_boxplot.png
        ethnic_region_box_png: output/dataset_processed/midpoint_rounded/analysis/plots/ethnicity_region_boxplot.png
        ethnic_region_tile_png: output/dataset_processed/midpoint_rounded/analysis/plots/ethnicity_region_heatmap.png

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime:

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

Job request

Status
Succeeded
Backend
TPP
Workspace
main_branch
Requested by
Megan Griffiths
Branch
main
Force run dependencies
No
Git commit hash
ba7a6ac
Requested actions
  • post_processing_analysis

Code comparison

Compare the code used in this job request