This repository has been archived by the owner on Oct 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
20_merge_data.yml
93 lines (67 loc) · 2.37 KB
/
20_merge_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
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
83
84
85
86
87
88
89
90
91
92
93
target_default: 20_merge_data
include:
- 15_clean_data.yml
packages:
- dplyr
- tidyr
- readr
- dataRetrieval
- openxlsx
sources:
- 20_merge_data/src/merge_data.R
targets:
20_merge_data:
depends:
- chem_dls
- data/pesticides.xlsx
- data/pesticides_Conc.xlsx
- data/pesticides_Bench.xlsx
- chemicalSummary
- chemicalSummary_bench
- chemicalSummary_conc
- chemicalSummary_dls
- chemicalSummary_bench_hbs
merged_dat:
command: merge_data(tracking, pesticides_clean, neonics_clean, glyphosate_clean)
reduced_dat:
command: remove_duplicate_chems(merged_dat)
special_cas:
command: get_special_cas()
chem_dls:
command: calc_detect_limits(reduced_dat)
filtered_censor:
command: remove_censor(reduced_dat)
chem_data:
command: create_chemData(filtered_censor, pCodeInfo)
all_chems:
command: create_chemData(reduced_dat, pCodeInfo)
chem_data_dl:
command: create_chemData(chem_dls, pCodeInfo)
chems_missing_cas:
command: find_missing_cas(reduced_dat, chem_data)
chem_info:
command: create_tox_chemInfo(chem_data, special_cas, pCodeInfo, classes_fixed)
chem_info_all:
command: create_tox_chemInfo(all_chems, special_cas, pCodeInfo, classes_fixed)
site_info:
command: create_tox_siteInfo(sites)
data/pesticides.xlsx:
command: create_toxExcel(chem_data, chem_info, site_info, exclusions, target_name)
data/pesticides_dls.xlsx:
command: create_toxExcel(chem_data_dl, chem_info, site_info, exclusions, target_name)
data/pesticides_Conc.xlsx:
command: create_ConcExcel(chem_data, chem_info, site_info, exclusions, target_name)
data/pesticides_Bench.xlsx:
command: create_WQExcel(chem_data, chem_info, site_info, exclusions, benchmarks, target_name)
data/pesticides_Bench_hbs.xlsx:
command: create_WQExcel(chem_data, chem_info, site_info, exclusions, benchmarks_hbs, target_name)
chemicalSummary:
command: get_chem_sum("data/pesticides.xlsx")
chemicalSummary_dls:
command: get_chem_sum("data/pesticides_dls.xlsx")
chemicalSummary_bench:
command: get_chem_bench("data/pesticides_Bench.xlsx")
chemicalSummary_bench_hbs:
command: get_chem_bench("data/pesticides_Bench_hbs.xlsx")
chemicalSummary_conc:
command: get_conc_summary("data/pesticides_Conc.xlsx")