Skip to content

Job request: 25658

Organisation:
Bennett Institute
Workspace:
tpp-counts-by-year
ID:
4uhk6xlg5djza52g

This page shows the technical details of what happened when the authorised researcher Andrea Schaffer 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:
  measures_patients:
    run: ehrql:v1 generate-measures analysis/measures_patients.py 
      --output output/measures/measures_patients.csv
    outputs:
      moderately_sensitive:
        measure_csv: output/measures/measures_patients.csv

  measures_practices:
    run: ehrql:v1 generate-measures analysis/measures_practices.py 
      --output output/measures/measures_practices.csv.gz
    outputs:
      highly_sensitive:
        measure_csv: output/measures/measures_practices.csv.gz

  checks:
    run: r:latest analysis/0_tpp_checks.R
    needs: [measures_practices]
    outputs:
      moderately_sensitive:
        csv1: output/processed/tpp_practices_check_2009.csv
        csv2: output/processed/tpp_practices_check_2025.csv

  counts_year:
    run: r:latest analysis/1_tpp_counts_by_year.R
    needs: [measures_patients, measures_practices]
    outputs:
      moderately_sensitive:
        csv1: output/processed/tpp_counts_by_year.csv
        
  counts_practices:
    run: r:latest analysis/2_tpp_counts_practices.R
    needs: [measures_patients, measures_practices]
    outputs:
      moderately_sensitive:
        csv1: output/processed/tpp_practices_years.csv
        png: output/processed/figures/practices*.png
        
  run_pre_filtering_only:
    run: r:latest analysis/3a_prefiltering.R
    needs: [counts_year, counts_practices]
    outputs:
      moderately_sensitive:
        csv1: output/prefiltering/tpp_counts_pre_filtering.csv
        csv2: output/prefiltering/tpp_practices_pre_filtering.csv

  # run_post_filtering_only:
  #   run: r:latest analysis/3b_postfiltering.R
  #   needs: [processing]
  #   outputs:
  #     moderately_sensitive:
  #       csv: output/postfiltering/tpp_counts_post_filtering.csv

Timeline

  • Created:

  • Started:

  • Finished:

  • Runtime: 00:00:28

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

Job request

Status
Succeeded
Backend
TPP
Workspace
tpp-counts-by-year
Requested by
Andrea Schaffer
Branch
main
Force run dependencies
No
Git commit hash
0938d02
Requested actions
  • counts_practices

Code comparison

Compare the code used in this job request