-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path20_prep_data.yml
56 lines (42 loc) · 1.42 KB
/
20_prep_data.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
56
target_default: 20_prep_data
packages:
- EGRET
- dplyr
- lubridate
include:
- 19_prep_data_source_tests.yml
sources:
- 20_prep_data/code/data_prep_fxns.R
- 10_get_data/code/precip_fxns.R
targets:
20_prep_data:
depends:
- discharge_eList
- tp_eList
- ortho_p_filt_eList
- p_combo_eList
- ss_eList
- 20_prep_data/out/yearly_precip.csv
- 20_prep_data/out/monthly_precip.csv
discharge_eList:
command: as.egret(INFO = discharge_info, Daily = discharge)
# tp using mean of observations
tp_eList:
command: mergeReport(INFO = tp_info, Daily = discharge, Sample = tp_mean)
# orthop
ortho_p_filt_eList:
command: mergeReport(INFO = ortho_p_filt_info, Daily = discharge, Sample = ortho_p_filt_mean)
p_combo:
command: combine_p_dat(diss_p, ortho_p_filt, ortho_p_unfilt)
p_combo_eList:
command: mergeReport(INFO = ortho_p_filt_info, Daily = discharge, Sample = p_combo)
ss_eList:
command: mergeReport(INFO = ss_info, Daily = discharge, Sample = ss_mean)
yearly_precip:
command: summarize_yearly(precip_dat = msn_precip)
20_prep_data/out/yearly_precip.csv:
command: write.csv(yearly_precip, target_name, row.names = FALSE)
monthly_precip:
command: summarize_monthly(precip_dat = msn_precip)
20_prep_data/out/monthly_precip.csv:
command: write.csv(monthly_precip, target_name, row.names = FALSE)