generated from opensafely/research-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
33 lines (27 loc) · 885 Bytes
/
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
version: '3.0'
expectations:
population_size: 1000
actions:
generate_study_population:
run: cohortextractor:latest generate_cohort --study-definition study_definition
outputs:
highly_sensitive:
cohort: output/input.csv
generate_study_pop_females:
run: cohortextractor:latest generate_cohort --study-definition study_definition_females
outputs:
highly_sensitive:
cohort: output/input_females.csv
describe_plot_age_distribution:
run: r:latest analysis/plotting_age.r
needs: [generate_study_population]
outputs:
moderately_sensitive:
plot1: output/descriptive.png
plot2: output/descriptive_region.png
describe_table_eth_sex:
run: r:latest analysis/table_ethnicity_by_sex.r
needs: [generate_study_population]
outputs:
moderately_sensitive:
tab1: output/tab_ethSex.csv