/
project.yaml
48 lines (40 loc) · 1.22 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
42
43
44
45
46
47
48
version: '3.0'
expectations:
population_size: 5000
actions:
generate_cohort:
run: cohortextractor:latest generate_cohort --output-format dta
outputs:
highly_sensitive:
cohort: output/input.dta
count_by_strata:
run: python:latest python analysis/all_time_counts.py
needs: [generate_cohort]
outputs:
moderately_sensitive:
table: output/counts_table.csv
logistic_models:
run: stata-mp:latest analysis/model.do ""
needs: [generate_cohort]
outputs:
moderately_sensitive:
table: output/model_summary.csv
select_cohorts:
run: stata-mp:latest analysis/select_cohorts.do ""
needs: [generate_cohort]
outputs:
highly_sensitive:
cohort_before_may: output/input_before_may.dta
cohort_after_may: output/input_after_may.dta
logistic_models_before_may:
run: stata-mp:latest analysis/model.do "_before_may"
needs: [select_cohorts]
outputs:
moderately_sensitive:
table: output/model_summary_before_may.csv
logistic_models_after_may:
run: stata-mp:latest analysis/model.do "_after_may"
needs: [select_cohorts]
outputs:
moderately_sensitive:
table: output/model_summary_after_may.csv