forked from opensafely/nhsx-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yaml
More file actions
26 lines (21 loc) · 728 Bytes
/
project.yaml
File metadata and controls
26 lines (21 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3.0'
expectations:
population_size: 1000
actions:
generate_cohort:
run: cohortextractor:latest generate_cohort --output-format csv --study-definition study_definition --index-date-range "2019-01-01 to 2021-04-30 by month"
outputs:
highly_sensitive:
cohort: output/input_*.csv
generate_measures:
run: cohortextractor:latest generate_measures --study-definition study_definition
needs: [generate_cohort]
outputs:
moderately_sensitive:
measures: output/measure_*.csv
generate_deciles_charts:
run: python:latest python analysis/generate_deciles_charts.py
needs: [generate_measures]
outputs:
moderately_sensitive:
figures: output/*.png