-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path12_get_data_subset_tests.yml
55 lines (42 loc) · 1.16 KB
/
12_get_data_subset_tests.yml
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
target_default: 12_get_data_subset_tests
packages:
- dataRetrieval
- yaml
- EGRET
- dplyr
sources:
- 10_get_data/code/filter_raw_conc.R
include:
- 10_get_data.yml
targets:
12_get_data_subset_tests:
depends:
- tp_first
- tp_last
- tp_mean
- tp_r1
- tp_r2
- tp_r3
- ortho_p_filt_mean
- ss_mean
# use raw TP conc data, but take first/last value
tp_first:
command: subset_raw_conc(tp, stat = I('first'))
tp_last:
command: subset_raw_conc(tp, stat = I('last'))
# use raw TP conc data, but take mean of values
tp_mean:
command: subset_raw_conc(tp, stat = I('mean'))
# use raw TP conc data, but randomly select 1 obs per day
# do this 3 times to compare results
tp_r1:
command: subset_raw_conc(tp, stat = I('random'))
tp_r2:
command: subset_raw_conc(tp, stat = I('random'))
tp_r3:
command: subset_raw_conc(tp, stat = I('random'))
# mean values appeared to work, so summarize to mean values
ortho_p_filt_mean:
command: subset_raw_conc(ortho_p_filt, stat = I('mean'))
ss_mean:
command: subset_raw_conc(ss, stat = I('mean'))