generated from opensafely/research-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
82 lines (73 loc) · 2.74 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3.0'
expectations:
population_size: 1000
actions:
generate_dataset:
run: ehrql:v1 generate-dataset analysis/dataset_definition.py
--output output/dataset_definition.csv
#--
#--diseases "{diseases}"
outputs:
highly_sensitive:
cohort: output/dataset_definition.csv
measures_dataset_copd:
run: ehrql:v1 generate-measures analysis/dataset_definition_measures.py
--output output/measures/measures_dataset_copd.csv
--
--start-date "2016-04-01"
--intervals 102
--intervals_years 8
--disease "copd"
needs: [generate_dataset]
outputs:
highly_sensitive:
measure_csv: output/measures/measures_dataset_copd.csv
measures_dataset_chd:
run: ehrql:v1 generate-measures analysis/dataset_definition_measures.py
--output output/measures/measures_dataset_chd.csv
--
--start-date "2016-04-01"
--intervals 102
--intervals_years 8
--disease "chd"
needs: [generate_dataset]
outputs:
highly_sensitive:
measure_csv: output/measures/measures_dataset_chd.csv
run_incidence_graphs:
run: stata-mp:latest analysis/100_incidence_graphs.do
needs: [generate_dataset, measures_dataset_copd, measures_dataset_chd]
outputs:
moderately_sensitive:
log1: logs/descriptive_tables.log
figure1: output/figures/incidence_*.svg
figure2: output/figures/prevalence_*.svg
figure3: output/figures/inc_comp_*.svg
figure4: output/figures/prev_comp_*.svg
figure5: output/figures/inc_adj_*.svg
figure6: output/figures/inc_ma_sex_*.svg
figure7: output/figures/prev_adj_*.svg
figure8: output/figures/inc_adj_ma_*.svg
figure9: output/figures/inc_adj_ma2_*.svg
figure10: output/figures/adj_ma_sex_*.svg
figure11: output/figures/adj_ma_sex2_*.svg
figure12: output/figures/adj_ma_age_*.svg
figure13: output/figures/adj_ma_age2_*.svg
data1: output/data/arima_nonstandardised.csv
run_sarima:
run: r:latest analysis/200_sarima.R
needs: [run_incidence_graphs]
outputs:
moderately_sensitive:
log1: logs/sarima_log.txt
figure1: output/figures/observed_*.svg
figure2: output/figures/raw_pre_covid_*.svg
figure3: output/figures/differenced_pre_covid_*.svg
figure4: output/figures/seasonal_pre_covid_*.svg
figure5: output/figures/raw_acf_*.svg
figure6: output/figures/differenced_acf_*.svg
figure7: output/figures/seasonal_acf_*.svg
figure8: output/figures/auto_residuals_*.svg
figure9: output/figures/obs_pred_*.svg
table1: output/tables/change_incidence_byyear.csv
table2: output/tables/values_*.csv