-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yaml
41 lines (37 loc) · 1.07 KB
/
project.yaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.0"
expectations:
population_size: 1000
actions:
# These actions are copied-and-pasted into README.md for user-facing documentation.
# If you change them here, then please change them there.
generate_cohort:
run: >
cohortextractor:latest generate_cohort
--study-definition study_definition
--index-date-range "2021-01-01 to 2021-06-30 by month"
outputs:
highly_sensitive:
cohort: output/input_2021-*.csv
generate_measures:
run: >
cohortextractor:latest generate_measures
--study-definition study_definition
needs: [generate_cohort]
outputs:
moderately_sensitive:
measure: output/measure_*.csv
generate_deciles_charts:
run: >
python:latest analysis/deciles_charts.py
--input-files output/measure_*.csv
--output-dir output
config:
show_outer_percentiles: false
tables:
output: true
charts:
output: true
needs: [generate_measures]
outputs:
moderately_sensitive:
deciles_charts: output/deciles_*_*.*