-
Notifications
You must be signed in to change notification settings - Fork 13
/
3_params_fetch.yml
37 lines (29 loc) · 1.23 KB
/
3_params_fetch.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
target_default: 3_params_fetch
packages:
- dplyr
- scipiper
- sbtools
sources:
- 3_params_fetch/src/fetch_nlcd.R
- 3_params_fetch/src/fetch_LAGOS.R
- 3_params_fetch/src/write_bathy.R
- 3_params_fetch/src/fetch_sb.R
targets:
3_params_fetch:
depends:
- 3_params_fetch/out/IA_lakes_bathymetry.zip.ind
- 3_params_fetch/out/IN_lakes_bathymetry.zip.ind
3_params_fetch/out/nlcd_classes.rds.ind:
command: fetch_nlcd_classes(target_name)
3_params_fetch/out/IA_lakes_bathymetry.zip.ind:
command: fetch_url(target_name,
url = I('http://iowageodata.s3.amazonaws.com/inlandWaters/lakes_bathymetry.zip'))
3_params_fetch/out/IN_lakes_bathymetry.zip.ind:
command: fetch_url(target_name,
url = I('https://opendata.arcgis.com/datasets/0ac283034cde4bb9bf8955eb5551be30_0.zip'))
# ScienceBase data release with Pepacton, Cannonsvillve, Neversink, and Rondout bathymetry
3_params_fetch/out/DRB_reservoirs_bathymetry.rds.ind:
command: fetch_sb(target_name,
sb_ids = I(c('580692cce4b0824b2d1d4240', '580695fee4b0824b2d1d425d', '58069bcae4b0824b2d1d428b', '58069930e4b0824b2d1d4272')))
3_params_fetch/out/nlcd_classes_canopyheight.rds.ind:
command: fetch_nlcd_classes_canopyheight(target_name)