-
Notifications
You must be signed in to change notification settings - Fork 0
/
_targets.R
34 lines (31 loc) · 987 Bytes
/
_targets.R
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
library(targets)
library(tarchetypes) # need version >= 0.6.0.9000
options(tidyverse.quiet = TRUE, timeout = 800)
tar_option_set(packages = c('tidyverse',
'sf',
'ggraph',
'tidygraph',
'janitor',
'sbtools',
'tidycensus',
'tigris',
'sysfonts',
'showtext',
'readr',
'cowplot',
'rmapshaper',
'jsonlite',
'terra',
'tidyterra',
'raster'))
# Phase target makefiles
source("0_config.R")
source("1_fetch.R")
source("2_process.R")
source("3_visualize.R")
# Combined list of target outputs
c(p0_targets,
p1_targets,
p2_targets,
p3_targets
)